From aaf7d3f1440bc08fc8fbf82c23e667ce26fbec01 Mon Sep 17 00:00:00 2001 From: johnman Date: Sat, 9 Mar 2024 18:14:05 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20built-on?= =?UTF-8?q?-openfin/container-starter@af340b4b333c551c127282cfd6e5381d4dd3?= =?UTF-8?q?c4d3=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v34/use-window-options/html/preview.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/v34/use-window-options/html/preview.html b/v34/use-window-options/html/preview.html index 33ca4046..5ee1a408 100644 --- a/v34/use-window-options/html/preview.html +++ b/v34/use-window-options/html/preview.html @@ -9,7 +9,7 @@ -
+

Window Options Preview

Demonstrate customized window.

@@ -117,10 +117,11 @@

}); (async () => { + debugger; const options = await fin.me.getOptions(); - if (!options.frame) { - const header = document.querySelector('header > div'); - header.classList.add('drag'); + if (options.frame) { + const header = document.querySelector('header'); + header.classList.remove('drag'); } })();