fixed jquery.on regex to be less aggressive
parent
941e9544e2
commit
48a9202f79
|
@ -663,7 +663,7 @@ $(function () {
|
||||||
app = new AppRouter();
|
app = new AppRouter();
|
||||||
|
|
||||||
// grab all hashed URLs and send them through the app router instead
|
// grab all hashed URLs and send them through the app router instead
|
||||||
$(document).on('click', 'a[href*="#"]', function(event) {
|
$(document).on('click', 'a[href^="manage/#"]', function(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
app.navigate(this.hash.slice(1), {trigger: true});
|
app.navigate(this.hash.slice(1), {trigger: true});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue