don't display 'Always show site poster' menu entry if not applicable

This commit is contained in:
rolux 2012-02-19 14:15:24 +00:00
commit 4ecf56e783
8 changed files with 25 additions and 15 deletions

View file

@ -179,6 +179,9 @@ pandora.clickLink = function(e) {
e.target.hostname == document.location.hostname
&& !Ox.starts(e.target.pathname, '/static')
) {
if (pandora.$ui.home && e.target.pathname != '/home') {
pandora.$ui.home.fadeOutScreen();
}
pandora.URL.push(e.target.pathname);
} else {
window.open('/url=' + encodeURIComponent(e.target.href), '_blank');