no double title

This commit is contained in:
j 2026-01-14 21:39:01 +00:00
commit c242818138

View file

@ -101,11 +101,11 @@ pandora.ui.previewPlayer = function() {
],
controlsTooltips: {
close: Ox._('Close'),
open: Ox._('Open {0}', [pandora.site.itemName.singular])
open: Ox._('Open {0}', [video.title])
},
controlsTop: [
Ox.Fullscreen.available ? 'fullscreen' : 'space16',
'title',
'space',
'open'
],
duration: video.duration,
@ -142,6 +142,9 @@ pandora.ui.previewPlayer = function() {
fullscreen: function(data) {
Ox.Fullscreen.toggle();
},
close: function() {
that.close();
},
open: function() {
$player.options({paused: true});
var url = document.location.protocol + '//'