Fix sidebar not autamatically add active class if url contains paramaters

pull/111/head
christianesperar 2016-04-28 21:33:25 +08:00
parent fc3c036468
commit ebbdc1d6fb
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'),