mirror of
https://github.com/greflm13/StaticGalleryBuilder.git
synced 2026-04-17 19:40:07 +02:00
Compare commits
3 Commits
c316653b01
...
ad6ef5fe01
| Author | SHA1 | Date | |
|---|---|---|---|
| ad6ef5fe01 | |||
| a7a0fee815 | |||
| cedb187c28 |
@@ -10,6 +10,9 @@ class PhotoGallery {
|
|||||||
this.darkModeToggle = this.darkModeToggle.bind(this);
|
this.darkModeToggle = this.darkModeToggle.bind(this);
|
||||||
this.debounce = this.debounce.bind(this);
|
this.debounce = this.debounce.bind(this);
|
||||||
this.detectDarkMode = this.detectDarkMode.bind(this);
|
this.detectDarkMode = this.detectDarkMode.bind(this);
|
||||||
|
|
||||||
|
this.detectDarkMode();
|
||||||
|
|
||||||
this.filter = this.filter.bind(this);
|
this.filter = this.filter.bind(this);
|
||||||
this.finalize = this.finalize.bind(this);
|
this.finalize = this.finalize.bind(this);
|
||||||
this.insertPath = this.insertPath.bind(this);
|
this.insertPath = this.insertPath.bind(this);
|
||||||
@@ -203,7 +206,6 @@ class PhotoGallery {
|
|||||||
this.setupDropdownToggle();
|
this.setupDropdownToggle();
|
||||||
this.setupTagHandlers();
|
this.setupTagHandlers();
|
||||||
this.setupClickHandlers();
|
this.setupClickHandlers();
|
||||||
this.detectDarkMode();
|
|
||||||
|
|
||||||
window.addEventListener("scroll", this.scrollFunction);
|
window.addEventListener("scroll", this.scrollFunction);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user