Skip to content

Commit

Permalink
Merge pull request #2587 from TrimmingFool/fix-2586
Browse files Browse the repository at this point in the history
Fix element jquery type confusion #2586
  • Loading branch information
stickz authored Nov 5, 2023
2 parents 86d41cb + e29fcd0 commit 89fac26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/webui.js
Original file line number Diff line number Diff line change
Expand Up @@ -2349,7 +2349,7 @@ var theWebUI =

for(const k in this.labels)
{
if (k && k !== 'quick_search' && !k.startsWith('clabel__') && !k.startsWith('pview_custom_view_')) {
if (k !== 'quick_search' && !k.startsWith('clabel__') && !k.startsWith('pview_custom_view_')) {
const lbl = k.startsWith('-_-_-') ? this.idToLbl(k) : k;
const stat = this.labelStat(k);
this.updateLabel(
Expand Down
2 changes: 1 addition & 1 deletion plugins/tracklabels/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ theWebUI.rebuildTrackersLabels = function()
.append($('<img>').attr('src', plugin.imageURI('tracker', lbl)))
.css({ background: 'none' });
if (previousLabelEl !== null)
previousLabelEl.after(labelEl);
$(previousLabelEl).after(labelEl);
else
ul.append(labelEl);
}
Expand Down

0 comments on commit 89fac26

Please sign in to comment.