From f33894e62fdaf5353dc629d0db3a90399ba9b376 Mon Sep 17 00:00:00 2001 From: filesite Date: Tue, 14 Jan 2025 19:06:09 +0800 Subject: [PATCH] tv test --- www/js/beauty.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/www/js/beauty.js b/www/js/beauty.js index 96f9c8c..6d1c6c5 100644 --- a/www/js/beauty.js +++ b/www/js/beauty.js @@ -1161,4 +1161,15 @@ $(document.body).on('keydown', function(e) { autoplay.stop(); } } -}); \ No newline at end of file +}); + +//TODO: handle fancybox show for tv browser +/* +$('a[data-fancybox]').on('dblclick', function(e) { + alert('double click'); + var fancybox = Fancybox.getInstance(); + if (fancybox) { + fancybox.show(); + } +}); +*/ \ No newline at end of file