From 3ffd14fa4da0ca71e1f97a070973e4994bae8f61 Mon Sep 17 00:00:00 2001 From: Arnaud Bos Date: Sat, 20 Oct 2012 02:52:02 +0200 Subject: add client side social integration, use webassets --- syte/static/js/components/mobile.js | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 syte/static/js/components/mobile.js (limited to 'syte/static/js/components/mobile.js') 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'); - }); -}); - - -- cgit