mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-04-21 02:51:26 +02:00
Fix conditional in editor.executeCommandWithMotion.
This commit is contained in:
@@ -690,7 +690,7 @@ function Editor() //{{{
|
||||
// motion = b, 0, gg, G, etc.
|
||||
executeCommandWithMotion: function (cmd, motion, count)
|
||||
{
|
||||
if (!typeof count == "number" || count < 1)
|
||||
if (typeof count != "number" || count < 1)
|
||||
count = 1;
|
||||
|
||||
if (cmd == motion)
|
||||
|
||||
Reference in New Issue
Block a user