forked from 0x2620/pandora
correctly set find state when loading '/'
This commit is contained in:
parent
8dedbd1bae
commit
746efb3110
6 changed files with 27 additions and 15 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue