Skip to content

Commit

Permalink
fix loosing tag or source filtering on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
niol committed Dec 23, 2016
1 parent 8b7f8d2 commit 4c7beac
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions public/js/selfoss-events-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,16 +148,12 @@ selfoss.events.navigation = function() {
// show
if(nav.is(':visible')==false) {
nav.slideDown(400, function() {
location.hash = "nav";
$(window).scrollTop(0);
});

// hide
} else {
nav.slideUp(400, function() {
if(location.hash=="#nav") {
location.hash = "";
}
$(window).scrollTop(0);
});
}
Expand Down

0 comments on commit 4c7beac

Please sign in to comment.