correctly set find state when loading '/'

This commit is contained in:
rolux 2011-10-09 10:04:30 +00:00
commit 746efb3110
6 changed files with 27 additions and 15 deletions

View file

@ -390,14 +390,7 @@ pandora.ui.infoView = function(data) {
}).join(', ');
}
$text.find('a').click(function(event) {
if (event.target.hostname == document.location.hostname) {
pandora.URL.push(event.target.pathname);
} else {
document.location.href = '/url=' + encodeURIComponent(event.target.href);
}
return false;
});
pandora.createLinks($text);
function renderList() {
pandora.api.get({