From d8da2033ffeddf1b82921b7700b612f56b44a385 Mon Sep 17 00:00:00 2001 From: Moe Date: Wed, 28 Dec 2022 13:31:24 -0800 Subject: [PATCH] add getMonitorEmbedLink function to UI --- web/assets/js/bs5.monitorsUtils.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/assets/js/bs5.monitorsUtils.js b/web/assets/js/bs5.monitorsUtils.js index 0ef180ca..706a9e00 100644 --- a/web/assets/js/bs5.monitorsUtils.js +++ b/web/assets/js/bs5.monitorsUtils.js @@ -994,6 +994,9 @@ function getRowsMonitorId(rowEl){ var monitorId = el.attr('data-mid') return monitorId } +function getMonitorEmbedLink(monitorConfig){ + return `${getApiPrefix('embed')}/${monitorConfig.mid}/fullscreen|jquery|relative` +} $(document).ready(function(){ $('body') .on('click','[system]',function(){