Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
Verificando causa do bug no css
  • Loading branch information
kaliztro authored Oct 27, 2023
1 parent c272cac commit 3fcd61e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions javascript/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,12 @@ function subtrair() {
}

document.addEventListener('DOMContentLoaded', function() {
let body = document.body;
if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
body.classList.add('dark-theme');
} else {
body.classList.add('light-theme');
}
// let body = document.body;
// if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
// body.classList.add('dark-theme');
// } else {
// body.classList.add('light-theme');
// }

$(document).ready(function() {
var ids = ['#banri1', '#banri2', '#banri3', '#stone1', '#stone2', '#cielo1', '#cielo2', '#dinheiro', '#pix'];
Expand Down

0 comments on commit 3fcd61e

Please sign in to comment.