From 5e8b70b1932d845af7844ab3987bf5e921c56fae Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Thu, 29 Jan 2015 06:48:12 +0000 Subject: Fix parsing of command mappings. Fixes #1443. --- background_scripts/commands.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'background_scripts/commands.coffee') 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] -- cgit v1.2.3