aboutsummaryrefslogtreecommitdiffstats
path: root/syte/static/js/components/mobile.js
diff options
context:
space:
mode:
authorArnaud Bos <arnaud.bos@aeon-consulting.fr>2012-10-20 02:52:02 +0200
committerArnaud Bos <arnaud.bos@aeon-consulting.fr>2012-10-20 02:52:02 +0200
commit3ffd14fa4da0ca71e1f97a070973e4994bae8f61 (patch)
treedd7fea1a54417fc5df25eb559870c6ad06019ef1 /syte/static/js/components/mobile.js
parent01a8792a5116a305368d9d98fa366923086e0633 (diff)
downloadpelican-themes-3ffd14fa4da0ca71e1f97a070973e4994bae8f61.tar.gz
add client side social integration, use webassets
Diffstat (limited to 'syte/static/js/components/mobile.js')
-rw-r--r--syte/static/js/components/mobile.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/syte/static/js/components/mobile.js b/syte/static/js/components/mobile.js
deleted file mode 100644
index 4b530b3..0000000
--- a/syte/static/js/components/mobile.js
+++ /dev/null
@@ -1,15 +0,0 @@
-
-var isMobileView = false;
-var mediaQuery = window.matchMedia("(max-width:600px)");
-
-if (mediaQuery.matches) {
- isMobileView = true;
-}
-
-$(function() {
- $('#mobile-nav-btn').click(function() {
- $('.main-section').toggleClass('nav-opened');
- });
-});
-
-