[Basilisk] Issue MoonchildProductions/UXP#516 - Remove named function syntax from basilisk/components/preferences.

This commit is contained in:
athenian200 2020-03-06 10:43:20 -06:00 committed by Roy Tam
commit 7f04845e74
5 changed files with 27 additions and 27 deletions

View file

@ -564,7 +564,7 @@ var gCookiesWindow = {
removeSelectedCookies.disabled = !hasRows || !hasSelection;
},
performDeletion: function gCookiesWindow_performDeletion(deleteItems) {
performDeletion: function(deleteItems) {
var psvc = Components.classes["@mozilla.org/preferences-service;1"]
.getService(Components.interfaces.nsIPrefBranch);
var blockFutureCookies = false;
@ -869,7 +869,7 @@ var gCookiesWindow = {
}
},
_updateRemoveAllButton: function gCookiesWindow__updateRemoveAllButton() {
_updateRemoveAllButton: function() {
let removeAllCookies = document.getElementById("removeAllCookies");
removeAllCookies.disabled = this._view._rowCount == 0;