Skip to content

Commit

Permalink
fix typo in discardTab #61
Browse files Browse the repository at this point in the history
  • Loading branch information
alice0775 committed Mar 25, 2021
1 parent 1468e09 commit 14ba241
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions 72/discardTab.uc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
// @description discard tab
// @include main
// @author Alice0775
// @compatibility 69
// @compatibility 72+
// @version 2021/03/25 22:00 fix typo in discardTab #61. thanks,aminomancer
// @version 2020/10/06 06:00 remove array
// @version 2019/06/24 23:00 fix 69 wait for gBrowser initialized
// @version 2019/05/29 16:00 Bug 1519514 - Convert tab bindings
Expand Down Expand Up @@ -80,7 +81,7 @@ var discardTab = {
let tab = event.target;
if (tab.hasAttribute("discardTabLabel")) {
tab.label = tab.getAttribute("discardTabLabel");
tab.remobeAttribute("discardTabLabel")
tab.removeAttribute("discardTabLabel")
}
},

Expand Down

0 comments on commit 14ba241

Please sign in to comment.