summaryrefslogtreecommitdiffstats
path: root/web/path.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/path.js')
-rw-r--r--web/path.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/path.js b/web/path.js
index 2373867..c8ae7b8 100644
--- a/web/path.js
+++ b/web/path.js
@@ -11,7 +11,7 @@ define(["underscore"], function(_) {
function merge(s) {
var n = Number(s);
- if (s > "") res.push((escaped || isNaN) ? s : n);
+ if (s > "") res.push((escaped || isNaN(n)) ? s : n);
}
while (true) {