forked from 0x2620/pandora
links
This commit is contained in:
parent
2f92d5d2aa
commit
41d5f886c7
4 changed files with 7 additions and 5 deletions
|
|
@ -132,7 +132,7 @@ pandora.ui.infoView = function(data) {
|
|||
|
||||
$browserImages = [];
|
||||
|
||||
pandora.createLinks($text);
|
||||
//pandora.createLinks($text);
|
||||
|
||||
// Title -------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -125,7 +125,8 @@ pandora.ui.item = function() {
|
|||
annotationsRange: pandora.user.ui.annotationsRange,
|
||||
annotationsSize: pandora.user.ui.annotationsSize,
|
||||
annotationsSort: pandora.user.ui.annotationsSort,
|
||||
censored: videoOptions.censored,
|
||||
censored: videoOptions.censored,
|
||||
clickLink: pandora.clickLink,
|
||||
cuts: result.data.cuts || [],
|
||||
duration: result.data.duration,
|
||||
enableSubtitles: pandora.user.ui.videoSubtitles,
|
||||
|
|
@ -225,6 +226,7 @@ pandora.ui.item = function() {
|
|||
annotationsSize: pandora.user.ui.annotationsSize,
|
||||
annotationsSort: pandora.user.ui.annotationsSort,
|
||||
censored: videoOptions.censored,
|
||||
clickLink: pandora.clickLink,
|
||||
cuts: result.data.cuts || [],
|
||||
duration: result.data.duration,
|
||||
enableSubtitles: pandora.user.ui.videoSubtitles,
|
||||
|
|
|
|||
|
|
@ -177,7 +177,7 @@ pandora.clickLink = function(e) {
|
|||
if (e.target.hostname == document.location.hostname) {
|
||||
pandora.URL.push(e.target.pathname);
|
||||
} else {
|
||||
document.location.href = '/url=' + encodeURIComponent(e.target.href);
|
||||
window.open('/url=' + encodeURIComponent(e.target.href), '_blank');
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue