diff --git a/public/js/selfoss-base.js b/public/js/selfoss-base.js index ee7417b5b2..b4ea3620c2 100644 --- a/public/js/selfoss-base.js +++ b/public/js/selfoss-base.js @@ -137,6 +137,11 @@ var selfoss = { if (selfoss.activeAjaxReq !== null) selfoss.activeAjaxReq.abort(); + if (location.hash == "#sources") { + location.hash = ""; + return; + } + $('#content').addClass('loading').html(""); selfoss.activeAjaxReq = $.ajax({ @@ -153,7 +158,6 @@ var selfoss = { $(document).scrollTop(0); selfoss.events.entries(); selfoss.events.search(); - location.hash = ""; // make unread itemcount red if(data.unread>0)