Update 1.js
This commit is contained in:
+10
-3
@@ -1,3 +1,13 @@
|
||||
/*CHANGE THEME*/
|
||||
let metaTheme = document.getElementById("themeMeta");
|
||||
if (metaTheme.content === "#ffffff") {
|
||||
metaTheme.content = "#100f2c"; // Dark mode theme rengi
|
||||
} else {
|
||||
metaTheme.content = "#ffffff"; // Light mode theme rengi
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
/*SERVICES VISIBILITY*/
|
||||
const boxes = document.querySelectorAll('.services_id');
|
||||
|
||||
@@ -385,9 +395,6 @@ function animateCircles() {
|
||||
animateCircles();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*DISABLE COPY-PASTE*/
|
||||
const disabledKeys = ["c", "C", "x", "J", "u", "I"]; // keys that will be disabled
|
||||
const showAlert = e => {
|
||||
|
||||
Reference in New Issue
Block a user