1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-16 12:45:46 +01:00

Backout last change. Something broke just before I committed.

This commit is contained in:
Kris Maglione
2008-12-03 21:49:49 -05:00
parent 3592723aad
commit 35f807a046
5 changed files with 36 additions and 61 deletions

View File

@@ -105,7 +105,7 @@ const modes = (function () //{{{
case modes.COMMAND_LINE:
// clean up for HINT mode
if (modes.extended & modes.HINTS)
hints.hide();
hints.hide();
commandline.close();
break;
}
@@ -152,11 +152,6 @@ const modes = (function () //{{{
mainModes.push(this[name]);
},
getMode: function (name)
{
return modeMap[name];
},
// show the current mode string in the command line
show: function ()
{
@@ -185,12 +180,12 @@ const modes = (function () //{{{
// if a main mode is set, the extended is always cleared
if (typeof mainMode === "number")
{
if (!silent && mainMode != main)
handleModeChange(main, mainMode);
main = mainMode;
if (!extendedMode)
extended = modes.NONE;
if (!silent && mainMode != main)
handleModeChange(main, mainMode);
}
if (typeof extendedMode === "number")
extended = extendedMode;