1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 21:57:51 +02:00

Theme handler optimization

This commit is contained in:
Cameron
2017-02-02 16:42:11 -08:00
parent 4823730ef1
commit 87b9489976
4 changed files with 194 additions and 16 deletions

View File

@@ -538,6 +538,7 @@ $(document).ready(function()
$(this).switchClass( "link", "link-active", 30 );
$(this).closest("li").addClass("active");
$(id).removeClass('e-hideme').show({
effect: "slide"
});
@@ -545,7 +546,8 @@ $(document).ready(function()
if(hash) {
window.location.hash = 'nav-' + hash;
if(form) {
$(form).attr('action', $(form).attr('action').split('#')[0] + '#nav-' + hash);
// $(form).attr('action', $(form).attr('action').split('#')[0] + '#nav-' + hash); // breaks menu-manager nav.
}
return false;
}