1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-05 08:15:48 +01:00

Revert 'Fixed the issue which cannot escape from hint mode normally.'

This commit is contained in:
Kris Maglione
2008-12-16 14:06:21 -05:00
parent dafccd969a
commit f617e3c174

View File

@@ -174,9 +174,11 @@ const modes = (function () //{{{
{
silent = (silent || main == mainMode && extended == extendedMode);
// if a main mode is set, the extended is always cleared
let oldMain = main, oldExtended = extended;
if (typeof extendedMode === "number")
extended = extendedMode;
if (typeof mainMode === "number")
{
let oldMain = main, oldExtended = extended;
main = mainMode;
if (!extendedMode)
extended = modes.NONE;
@@ -184,8 +186,6 @@ const modes = (function () //{{{
if (main != oldMain)
handleModeChange(oldMain, mainMode, oldExtended);
}
if (typeof extendedMode === "number")
extended = extendedMode;
if (!silent)
this.show();