From 671caedf702cb5ccdad0461eb6d78bda567be576 Mon Sep 17 00:00:00 2001 From: Ilze Poca Date: Thu, 16 Feb 2023 09:27:20 +0000 Subject: [PATCH] Adding back incorrectly removed code --- examples/web/assets/js/app.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/examples/web/assets/js/app.js b/examples/web/assets/js/app.js index 6f6ddabf..3ee522d8 100644 --- a/examples/web/assets/js/app.js +++ b/examples/web/assets/js/app.js @@ -92,6 +92,13 @@ document.addEventListener("DOMContentLoaded", function (event) { // Enable popovers $('[data-toggle="popover"]').popover(); + + if (!isOpenFin() && container.getCurrentWindow().id === "desktopJS") { + snapAssist = new desktopJS.SnapAssistWindowManager(container, + { + windowStateTracking: desktopJS.WindowStateTracking.Main | desktopJS.WindowStateTracking.Group + }); + } }); });