Ox.starts -> Ox.startsWith
This commit is contained in:
parent
c2ad332bbe
commit
d8736f7c8b
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ pandora.changeListStatus = function(id, status, callback) {
|
||||||
pandora.clickLink = function(e) {
|
pandora.clickLink = function(e) {
|
||||||
if (
|
if (
|
||||||
e.target.hostname == document.location.hostname
|
e.target.hostname == document.location.hostname
|
||||||
&& !Ox.starts(e.target.pathname, '/static')
|
&& !Ox.startsWith(e.target.pathname, '/static')
|
||||||
) {
|
) {
|
||||||
if (pandora.$ui.home && e.target.pathname != '/home') {
|
if (pandora.$ui.home && e.target.pathname != '/home') {
|
||||||
pandora.$ui.home.fadeOutScreen();
|
pandora.$ui.home.fadeOutScreen();
|
||||||
|
|
Loading…
Reference in a new issue