mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-13 08:33:58 -07:00
all links are automatically handled through backbone router.
no more page reload.
This commit is contained in:
parent
5ea794939c
commit
50918ae65f
6 changed files with 55 additions and 41 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue