Ox.starts -> Ox.startsWith

This commit is contained in:
rolux 2012-06-04 11:23:01 +02:00
parent c2ad332bbe
commit d8736f7c8b

View file

@ -185,7 +185,7 @@ pandora.changeListStatus = function(id, status, callback) {
pandora.clickLink = function(e) {
if (
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') {
pandora.$ui.home.fadeOutScreen();