Merge pull request #111 from christianesperar/master

Fix sidebar not autamatically add active class if url contains paramaters
pull/118/head
Christian Esperar 2016-04-28 21:34:14 +08:00
commit 415675ef16
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
* and open the template in the editor.
*/
var URL = window.location,
var URL = window.location.href.split('?')[0],
$BODY = $('body'),
$MENU_TOGGLE = $('#menu_toggle'),
$SIDEBAR_MENU = $('#sidebar-menu'),