From 4fa4016eb6cb2b3bacca4a6bd21c6de7a90b1c08 Mon Sep 17 00:00:00 2001 From: athenian200 Date: Thu, 6 Feb 2020 06:54:07 -0600 Subject: [PATCH] [Pale-Moon] Issue MoonchildProductions/UXP#516 - Remove named function syntax from palemoon/components/shell. --- application/palemoon/components/shell/nsSetDefaultBrowser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/palemoon/components/shell/nsSetDefaultBrowser.js b/application/palemoon/components/shell/nsSetDefaultBrowser.js index c7a78c5388..4c6e1a0034 100644 --- a/application/palemoon/components/shell/nsSetDefaultBrowser.js +++ b/application/palemoon/components/shell/nsSetDefaultBrowser.js @@ -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); }