forked from 0x2620/pandora
dont reload page for local urls
This commit is contained in:
parent
23904e4d9b
commit
d117dfe351
1 changed files with 7 additions and 0 deletions
|
@ -390,6 +390,13 @@ pandora.ui.infoView = function(data) {
|
|||
}).join(', ');
|
||||
}
|
||||
|
||||
$text.find('a').click(function(event) {
|
||||
if (event.target.hostname == document.location.hostname &&
|
||||
event.target.pathname.substr(0, 5) != '/url=') {
|
||||
pandora.URL.push(event.target.pathname);
|
||||
return false;
|
||||
}
|
||||
});
|
||||
function renderList() {
|
||||
pandora.api.get({
|
||||
id: data.id,
|
||||
|
|
Loading…
Reference in a new issue