aboutsummaryrefslogtreecommitdiffstats
path: root/src/Binder.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/Binder.js')
-rw-r--r--src/Binder.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Binder.js b/src/Binder.js
index 3fc45a20..48a4f611 100644
--- a/src/Binder.js
+++ b/src/Binder.js
@@ -70,7 +70,7 @@ Binder.prototype = {
},
updateAnchor: function() {
- var url = this.location.get();
+ var url = this.location.get() || "";
var anchorIndex = url.indexOf('#');
if (anchorIndex > -1)
url = url.substring(0, anchorIndex);