Update home_en.html
This commit is contained in:
@@ -330,13 +330,6 @@
|
|||||||
for (var i = 0; i < circles.length; i++) {circles[i].style.display = 'none';}}};
|
for (var i = 0; i < circles.length; i++) {circles[i].style.display = 'none';}}};
|
||||||
const darkmode = new Darkmode(options);
|
const darkmode = new Darkmode(options);
|
||||||
darkmode.showWidget();
|
darkmode.showWidget();
|
||||||
|
|
||||||
if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
|
|
||||||
// Tarayıcı karanlık moddaysa dark mode'u aktif et
|
|
||||||
if (!darkmode.isActivated()) {
|
|
||||||
darkmode.toggle();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user