adjust for chrome bug with relative links

This commit is contained in:
cigamit committed 2016-03-12 08:16:43 -06:00
1 parent 0f37d112d8
commit b4601fb74f
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -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');
+2 -1
View File
@@ -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');