aboutsummaryrefslogtreecommitdiffstats
path: root/haiku.js
diff options
context:
space:
mode:
Diffstat (limited to 'haiku.js')
-rw-r--r--haiku.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/haiku.js b/haiku.js
index f823b36..410e97b 100644
--- a/haiku.js
+++ b/haiku.js
@@ -221,7 +221,7 @@
liberator.echoerr(ex);
}
- arg = arg.replace(/%URL%/g, buffer.URL)
+ arg = arg.string.replace(/%URL%/g, buffer.URL)
.replace(/%TITLE%/g, buffer.title);
if (special && arg.match(/^\+\s*(.*)/))