Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
johnman committed Mar 8, 2024
1 parent 530293d commit 2cfd192
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions how-to/use-window-options/public/html/preview.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,17 @@ <h4 id="windowName"></h4>
<option value="-width">Decrease Width</option>
<option value="+height">Increase Height</option>
<option value="-height">Decrease Height</option>
</select> <button id="btnApply">Apply</button>
</select>
<button id="btnApply">Apply</button>
</fieldset>
<fieldset class="row wrap">
<button id="btnCapture">Capture</button>
<button id="btnClosePreview">Close</button>
<button id="btnClosePreview">Close</button>
</fieldset>
</main>
<script>
const windowName = document.querySelector('#windowName');
if(fin.me.isView) {
if (fin.me.isView) {
windowName.innerText = 'View Name: ' + fin.me.identity.name;
const sizeContainer = document.querySelector('#sizeContainer');
sizeContainer.style.display = 'none';
Expand Down Expand Up @@ -90,7 +91,7 @@ <h4 id="windowName"></h4>
updated = true;
}
height = -100;
}
}
if (updated) {
await fin.me.updateOptions(options);
}
Expand Down

0 comments on commit 2cfd192

Please sign in to comment.