[Pale-Moon] Issue MoonchildProductions/UXP#516 - Remove named function syntax from palemoon/components/shell.

This commit is contained in:
athenian200 2020-02-06 06:54:07 -06:00 committed by Roy Tam
commit 4fa4016eb6

View file

@ -15,7 +15,7 @@ Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
function nsSetDefaultBrowser() {}
nsSetDefaultBrowser.prototype = {
handle: function nsSetDefault_handle(aCmdline) {
handle: function (aCmdline) {
if (aCmdline.handleFlag("setDefaultBrowser", false)) {
ShellService.setDefaultBrowser(true, true);
}