mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-09 05:26:50 +09:00
adjust for chrome bug with relative links
This commit is contained in:
1 parent
0f37d112d8
commit
b4601fb74f
2 files changed
+4
-2
No files matched your search
@@ -237,8 +237,9 @@ function setMenuVisibility() {
|
||||
});
|
||||
|
||||
// Functon to give life to the Navigation pane
|
||||
$('#nav li:has(ul) a.active').unbind().click(function() {
|
||||
$('#nav li:has(ul) a.active').unbind().click(function(event) {
|
||||
event.preventDefault();
|
||||
|
||||
if ($(this).next().is(':visible')){
|
||||
$(this).next().slideUp( { duration: 200, easing: 'swing' } );
|
||||
storage.set($(this).text(), 'collapsed');
|
||||
|
||||
@@ -227,8 +227,9 @@ function setMenuVisibility() {
|
||||
});
|
||||
|
||||
// Functon to give life to the Navigation pane
|
||||
$('#nav li:has(ul) a.active').unbind().click(function() {
|
||||
$('#nav li:has(ul) a.active').unbind().click(function(event) {
|
||||
event.preventDefault();
|
||||
|
||||
if ($(this).next().is(':visible')){
|
||||
$(this).next().slideUp( { duration: 200, easing: 'swing' } );
|
||||
storage.set($(this).text(), 'collapsed');
|
||||
|
||||
Reference in new issue
Block a user