Skip to content

Commit

Permalink
V1.26.8_bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
cdhigh committed Aug 29, 2021
1 parent 769dc00 commit b6ae6ef
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions templates/sharedlibrary.html
Expand Up @@ -274,9 +274,11 @@

//Click a category and then populate the content of links on right side
function selectCategory(obj, category) {
var thisLi = obj.parentNode;
hightlightCategory(thisLi);
toPage(category, 1);
if (obj) {
var thisLi = obj.parentNode;
hightlightCategory(thisLi);
toPage(category, 1);
}
};

function doSearch() {
Expand All @@ -289,7 +291,7 @@
sch_txt = "";
}

all_rss_data_by_category = buildRssByCategory(sch_txt);
buildRssByCategory(sch_txt);
createCategoryMenu();
// select first category by default
selectCategory(document.querySelector(".category-menu"), "{{_('[All]')}}");
Expand Down

0 comments on commit b6ae6ef

Please sign in to comment.