diff options
author | Francesco <tomaselli.fr@gmail.com> | 2024-04-22 18:15:45 +0200 |
---|---|---|
committer | Francesco <tomaselli.fr@gmail.com> | 2024-04-22 18:15:45 +0200 |
commit | 37e82d2dd9e50e5cd0c2ad1a0cede9c7b30815ac (patch) | |
tree | 0a66964833c4a314e1c37a5c7960c78ca9f02a5c /assets/js/main.js | |
parent | b34fd641941143b856d5721b89d6233d5dbbe3d3 (diff) |
Theme Update
Diffstat (limited to 'assets/js/main.js')
-rw-r--r-- | assets/js/main.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/assets/js/main.js b/assets/js/main.js deleted file mode 100644 index b27f7f1..0000000 --- a/assets/js/main.js +++ /dev/null @@ -1,14 +0,0 @@ -const images = document.querySelectorAll('img'); - -images.forEach(img => { - - if (img.src.endsWith('#dark-mode')) { - - console.log('found'); - - img.onload = function () { - console.log(`Image loaded: ${img.src}`); - }; - - } -});
\ No newline at end of file |