Skip to content

Commit 400bf02

Browse files
committed
fix: broken :dialog checkupdates (Muttator)
1 parent 93caba3 commit 400bf02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

muttator/content/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const Config = Module("config", ConfigBase, {
6767
["accounts", "Account Manager",
6868
function () { MsgAccountManager(); }],
6969
["checkupdates", "Check for updates",
70-
function () { window.checkForUpdates(); }],
70+
function () { var s = "checkForUpdates"; window[window[s] ? s: "openAboutDialog"]()}],
7171
/*["cleardata", "Clear private data",
7272
function () { Cc[GLUE_CID].getService(Ci.nsIBrowserGlue).sanitize(window || null); }],*/
7373
["console", "JavaScript console",

0 commit comments

Comments
 (0)