Skip to content

Commit

Permalink
make request list link match prefix aware
Browse files Browse the repository at this point in the history
  • Loading branch information
jambun committed Jun 28, 2022
1 parent cf5ecc7 commit 65b0414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/assets/request_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@

RequestList.prototype.showListCount = function(flash) {
var items = this.getList().length;
var a = $("a[href='/plugin/request_list/list']").first();
var a = $("a[href$='/plugin/request_list/list']").first();
a.html(a.html().replace(/ \(\d+\)/, " (" + items + ")"));
if (flash) {
a.parent().fadeOut(100).fadeIn(100).fadeOut(100).fadeIn(100);
Expand Down

0 comments on commit 65b0414

Please sign in to comment.