mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-22 05:55:46 +01:00
Fix dactyl.quit.
This commit is contained in:
@@ -1092,7 +1092,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
|||||||
confirmQuit: function confirmQuit()
|
confirmQuit: function confirmQuit()
|
||||||
prefs.withContext(function () {
|
prefs.withContext(function () {
|
||||||
prefs.set("browser.warnOnQuit", false);
|
prefs.set("browser.warnOnQuit", false);
|
||||||
return !window.canQuitApplication();
|
return window.canQuitApplication();
|
||||||
}),
|
}),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user