Skip to content

Commit

Permalink
Deploying to gh-pages from @ af340b4 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
johnman committed Mar 9, 2024
1 parent 320cc52 commit aaf7d3f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions v34/use-window-options/html/preview.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</head>

<body class="col fill gap20">
<header class="row spread middle">
<header class="row spread middle drag">
<div class="col">
<h1>Window Options Preview</h1>
<h1 class="tag">Demonstrate customized window.</h1>
Expand Down Expand Up @@ -117,10 +117,11 @@ <h4 id="windowName"></h4>
});

(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');
}
})();
</script>
Expand Down

0 comments on commit aaf7d3f

Please sign in to comment.