fixed jquery.on regex to be less aggressive
parent
60ab2b457e
commit
ae3ecc2638
|
@ -647,7 +647,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