mirror of https://github.com/ColorlibHQ/gentelella
split hash from CURRENT_URL
parent
35d44daad9
commit
ab4c6c7fe7
|
@ -4,7 +4,7 @@
|
||||||
* and open the template in the editor.
|
* 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'),
|
$BODY = $('body'),
|
||||||
$MENU_TOGGLE = $('#menu_toggle'),
|
$MENU_TOGGLE = $('#menu_toggle'),
|
||||||
$SIDEBAR_MENU = $('#sidebar-menu'),
|
$SIDEBAR_MENU = $('#sidebar-menu'),
|
||||||
|
@ -241,4 +241,4 @@ if (typeof NProgress != 'undefined') {
|
||||||
$(window).load(function () {
|
$(window).load(function () {
|
||||||
NProgress.done();
|
NProgress.done();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue