aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2014-11-02 13:35:15 +0000
committerStephen Blott2014-11-02 13:35:15 +0000
commitd42913f75443df565d33ef5c565cd80c31714a60 (patch)
tree987d0fb58374ba00279d1387a6ef0eac44b0432e
parent390a9cb85e2a97fbd9d2b1a400deee4b12394337 (diff)
downloadvimium-d42913f75443df565d33ef5c565cd80c31714a60.tar.bz2
Minor tweak for clarity.
-rw-r--r--pages/vomnibar.coffee3
1 files changed, 1 insertions, 2 deletions
diff --git a/pages/vomnibar.coffee b/pages/vomnibar.coffee
index 8b2661fe..59bf8266 100644
--- a/pages/vomnibar.coffee
+++ b/pages/vomnibar.coffee
@@ -29,8 +29,7 @@ Vomnibar =
.split(/[\?&]/)
.map((option) ->
[name, value] = option.split "="
- options[name] = value
- options[name] = unescape(value) if value
+ options[name] = if value? then unescape(value) else true
)
# Set boolean options.