1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-14 02:05:45 +01:00

Fix conditional in editor.executeCommandWithMotion.

This commit is contained in:
Doug Kearns
2009-05-15 00:29:50 +10:00
parent 18def4a7ae
commit 2c486edee7

View File

@@ -690,7 +690,7 @@ function Editor() //{{{
// motion = b, 0, gg, G, etc. // motion = b, 0, gg, G, etc.
executeCommandWithMotion: function (cmd, motion, count) executeCommandWithMotion: function (cmd, motion, count)
{ {
if (!typeof count == "number" || count < 1) if (typeof count != "number" || count < 1)
count = 1; count = 1;
if (cmd == motion) if (cmd == motion)