Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/darshanbaral/aafu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarshan Baral <darshanbaral@gmail.com>2019-07-18 23:14:28 +0300
committerDarshan Baral <darshanbaral@gmail.com>2019-07-18 23:14:28 +0300
commitcc3214c329aee087d604c02c9b86b5bab95c910b (patch)
tree3627ad38b7886fa5155d5ac5cea1dca68819eeed
parent57f8d569a881aaedb97d4e688477a285f0df7c8b (diff)
Removed console.log ...
-rw-r--r--layouts/partials/toggleTheme.html3
-rw-r--r--static/js/accordion.js1
2 files changed, 1 insertions, 3 deletions
diff --git a/layouts/partials/toggleTheme.html b/layouts/partials/toggleTheme.html
index ea7e74f..b8a3fc8 100644
--- a/layouts/partials/toggleTheme.html
+++ b/layouts/partials/toggleTheme.html
@@ -24,8 +24,7 @@
}
};
- let changeThemeColor = function() {
- console.log(getComputedStyle(document.body)["background-color"]);
+ let changeThemeColor = function() {
themeColor.content = getComputedStyle(document.body)["background-color"];
};
let thisBody = document.body;
diff --git a/static/js/accordion.js b/static/js/accordion.js
index 39c5f20..e97fee9 100644
--- a/static/js/accordion.js
+++ b/static/js/accordion.js
@@ -14,7 +14,6 @@ for (let i = 0; i < acc.length; i++) {
[...allPanels].forEach(function(elem) {
elem.style.maxHeight = null;
});
- console.log(this.nextElementSibling.contains(document.querySelector("#skill-panel")));
if (!this.nextElementSibling.contains(document.querySelector("#skill-panel"))) {
document.querySelectorAll("#skill-percent").forEach(elem => {
elem.style.width = "0px";