diff --git a/headers/headers.org b/headers/headers.org index 4c8bc3f..6f21fe2 100644 --- a/headers/headers.org +++ b/headers/headers.org @@ -11,20 +11,6 @@ # ### CODE ##################################################################### -#+name: setup -#+begin_src emacs-lisp :results silent :exports none - (unless (find "conlang" org-latex-classes :key 'car - :test 'equal) - (add-to-list 'org-latex-classes - '("conlang" - "\\documentclass{book}" - ;; ("\\part{%s}" . "\\part*{%s}") - ("\\chapter{%s}" . "\\chapter*{%s}") - ("\\section{%s}" . "\\section*{%s}") - ("\\subsection{%s}" . "\\subsection*{%s}") - ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))) -#+end_src - #+NAME: tree-dot #+BEGIN_SRC emacs-lisp :noweb yes :exports none :eval yes (defun declare-node (node-text node-generation) diff --git a/js/main.js b/js/main.js index 7ee4ef4..133c252 100644 --- a/js/main.js +++ b/js/main.js @@ -3,6 +3,7 @@ window.onload = function() { reorganize_html(); create_theme_switcher(); + console.log("JS loaded!"); }; function reorganize_html() { @@ -28,9 +29,7 @@ function create_theme_switcher() { // switch CSS files and button icon, set new cookie on theme switcher click $('.themeBtn').click(function() { - console.log("Theme change"); var light = !isThemeLight(); - console.log(light); $("#theme").first().attr('href', './css/' .concat(light ? 'light' : 'dark') .concat('.css'));