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

pull/24/head
athenian200 3 years ago committed by Roy Tam
parent 8018d9393e
commit 4fa4016eb6
  1. 2
      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);
}

Loading…
Cancel
Save