From ebbdc1d6fbb4e4f42fca35212986e587bd5c1846 Mon Sep 17 00:00:00 2001 From: christianesperar Date: Thu, 28 Apr 2016 21:33:25 +0800 Subject: [PATCH] Fix sidebar not autamatically add active class if url contains paramaters --- production/js/custom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/production/js/custom.js b/production/js/custom.js index 8d4604ea..45a0089c 100755 --- a/production/js/custom.js +++ b/production/js/custom.js @@ -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'),