mirror of
https://github.com/jashkenas/backbone.git
synced 2026-01-22 21:38:00 -05:00
@@ -832,9 +832,9 @@
|
||||
fragment = window.location.hash;
|
||||
}
|
||||
}
|
||||
fragment = decodeURIComponent(fragment.replace(routeStripper, ''));
|
||||
fragment = decodeURIComponent(fragment);
|
||||
if (!fragment.indexOf(this.options.root)) fragment = fragment.substr(this.options.root.length);
|
||||
return fragment;
|
||||
return fragment.replace(routeStripper, '');
|
||||
},
|
||||
|
||||
// Start the hash change handling, returning `true` if the current URL matches
|
||||
|
||||
Reference in New Issue
Block a user