Don't try to route external URLs
This commit is contained in:
parent
3bbdb00447
commit
4cf32e0f00
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ $(document).ready(function () {
|
|||
|
||||
$(document).on("click", "a", function(e) {
|
||||
if (e.isPropagationStopped()) return;
|
||||
if (OSM.route(this.pathname + this.search + this.hash)) e.preventDefault();
|
||||
if (this.host === window.location.host && OSM.route(this.pathname + this.search + this.hash)) e.preventDefault();
|
||||
});
|
||||
|
||||
$("#search_form").on("submit", function(e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue