From 5724c88a2e07ec15eab1321b8e169265212e2e60 Mon Sep 17 00:00:00 2001 From: Moe Date: Thu, 14 Jul 2022 22:11:32 -0700 Subject: [PATCH] Fix double click to full screen live stream --- web/assets/js/bs5.liveGrid.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/assets/js/bs5.liveGrid.js b/web/assets/js/bs5.liveGrid.js index 6a4e5bda..01915957 100644 --- a/web/assets/js/bs5.liveGrid.js +++ b/web/assets/js/bs5.liveGrid.js @@ -810,8 +810,9 @@ function signalCheckLiveStream(options){ } $(document).ready(function(e){ liveGrid - .on('dblclick','.stream-hud',function(){ - $(this).parents('[data-mid]').find('[monitor="fullscreen"]').click(); + .on('dblclick','.stream-block',function(){ + var monitorItem = $(this).parents('[data-mid]'); + fullScreenLiveGridStream(monitorItem) }) $('body') .resize(function(){