remove unneeded line and return on window.location.assign

This commit is contained in:
Andrew Terris
2012-04-09 23:20:05 -05:00
parent b9021b64be
commit 35f11ba5c5

View File

@@ -1120,8 +1120,7 @@
// based history, then `navigate` becomes a page refresh.
} else {
if (frag.indexOf(this.options.root) != 0) frag = this.options.root + frag;
this.fragment = frag;
window.location.assign(frag);
return window.location.assign(frag);
}
if (options.trigger) this.loadUrl(fragment);
},