mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -07:00
Minor fixes and polyfills
This commit is contained in:
parent
89a72a50cf
commit
feda4a9b67
7 changed files with 44 additions and 43 deletions
|
@ -1,5 +1,5 @@
|
|||
'use strict';
|
||||
define(['Shared/StringHelpers'],function (StringHelpers) {
|
||||
define(function () {
|
||||
//This module will automatically route all relative links through backbone router rather than
|
||||
//causing links to reload pages.
|
||||
|
||||
|
@ -40,7 +40,7 @@ define(['Shared/StringHelpers'],function (StringHelpers) {
|
|||
}
|
||||
|
||||
|
||||
if (!StringHelpers.startsWith(href, 'http')) {
|
||||
if (!href.startsWith('http')) {
|
||||
router.navigate(href, { trigger: true });
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue