summaryrefslogtreecommitdiff
path: root/assets/js/main.js
diff options
context:
space:
mode:
authorFrancesco <tomaselli.fr@gmail.com>2024-04-22 18:15:45 +0200
committerFrancesco <tomaselli.fr@gmail.com>2024-04-22 18:15:45 +0200
commit37e82d2dd9e50e5cd0c2ad1a0cede9c7b30815ac (patch)
tree0a66964833c4a314e1c37a5c7960c78ca9f02a5c /assets/js/main.js
parentb34fd641941143b856d5721b89d6233d5dbbe3d3 (diff)
Theme Update
Diffstat (limited to 'assets/js/main.js')
-rw-r--r--assets/js/main.js14
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