mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
all links are automatically handled through backbone router.
no more page reload.
This commit is contained in:
@@ -24,13 +24,6 @@ define(['app'], function () {
|
||||
} else {
|
||||
this.setActive(event.target);
|
||||
}
|
||||
|
||||
if (href && href.startsWith('http')) {
|
||||
window.location.href = href;
|
||||
} else {
|
||||
NzbDrone.Router.navigate(href, { trigger: true });
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
setActive: function (element) {
|
||||
|
Reference in New Issue
Block a user