summaryrefslogtreecommitdiff
path: root/static/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/js/main.js')
-rw-r--r--static/js/main.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/static/js/main.js b/static/js/main.js
index 012df35..18316e0 100644
--- a/static/js/main.js
+++ b/static/js/main.js
@@ -2,7 +2,7 @@
* Utils
*/
-// Throttle
+// Throttle Helper
const throttle = (callback, limit) => {
let timeoutHandler = null;
return () => {
@@ -23,8 +23,6 @@ const listen = (selector, eventType, callback) => {
}
};
-// FUNCTIONS
-
// Auto Hide Header
const header = document.getElementById('site-header');
let lastScrollPosition = window.scrollY;