This commit is contained in:
j 2012-01-17 21:14:09 +05:30
commit 41d5f886c7
4 changed files with 7 additions and 5 deletions

View file

@ -132,7 +132,7 @@ pandora.ui.infoView = function(data) {
$browserImages = [];
pandora.createLinks($text);
//pandora.createLinks($text);
// Title -------------------------------------------------------------------

View file

@ -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,

View file

@ -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');
}
};