aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/commands.coffee
diff options
context:
space:
mode:
authorStephen Blott2015-01-29 06:48:12 +0000
committerStephen Blott2015-01-29 06:48:12 +0000
commit5e8b70b1932d845af7844ab3987bf5e921c56fae (patch)
tree2b7b7d1271294289a1c0c9eabb99f2504645557c /background_scripts/commands.coffee
parent6f73864899e1c802fd504dec1dcd1644d513d97d (diff)
downloadvimium-5e8b70b1932d845af7844ab3987bf5e921c56fae.tar.bz2
Fix parsing of command mappings.
Fixes #1443.
Diffstat (limited to 'background_scripts/commands.coffee')
-rw-r--r--background_scripts/commands.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee
index 485195a9..114f46ce 100644
--- a/background_scripts/commands.coffee
+++ b/background_scripts/commands.coffee
@@ -58,7 +58,7 @@ Commands =
for line in lines
continue if (line[0] == "\"" || line[0] == "#")
- splitLine = line.split(/\s+/)
+ splitLine = line.replace(/\s+$/, "").split(/\s+/)
lineCommand = splitLine[0]