From ab4c6c7fe7dac3e5d47b621f561ab6dae866f01b Mon Sep 17 00:00:00 2001 From: Evgeny M Date: Wed, 10 Aug 2016 23:59:25 +0400 Subject: [PATCH] split hash from CURRENT_URL --- src/js/custom.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/custom.js b/src/js/custom.js index 803ee89c..70df8f3f 100644 --- a/src/js/custom.js +++ b/src/js/custom.js @@ -4,7 +4,7 @@ * and open the template in the editor. */ -var CURRENT_URL = window.location.href.split('?')[0], +var CURRENT_URL = window.location.href.split('#')[0].split('?')[0], $BODY = $('body'), $MENU_TOGGLE = $('#menu_toggle'), $SIDEBAR_MENU = $('#sidebar-menu'), @@ -241,4 +241,4 @@ if (typeof NProgress != 'undefined') { $(window).load(function () { NProgress.done(); }); -} \ No newline at end of file +}