Merge pull request #111 from christianesperar/master

Fix sidebar not autamatically add active class if url contains paramaters
This commit is contained in:
Christian Esperar 2016-04-28 21:34:14 +08:00
commit 415675ef16

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'),