Update 1.js
This commit is contained in:
+1
-8
@@ -385,14 +385,7 @@ function animateCircles() {
|
|||||||
animateCircles();
|
animateCircles();
|
||||||
|
|
||||||
|
|
||||||
document.getElementById("toggleTheme").addEventListener("click", function () {
|
|
||||||
let metaTheme = document.getElementById("themeMeta");
|
|
||||||
if (metaTheme.content === "#F8F6E3") {
|
|
||||||
metaTheme.content = "#100f2c"; // Dark mode rengi
|
|
||||||
} else {
|
|
||||||
metaTheme.content = "#F8F6E3"; // Light mode rengi
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
/*DISABLE COPY-PASTE*/
|
/*DISABLE COPY-PASTE*/
|
||||||
|
|||||||
Reference in New Issue
Block a user