lint fixes

This commit is contained in:
Maxim Devaev
2025-05-03 04:27:21 +03:00
parent 7d7edb1c03
commit b7715b731e
4 changed files with 8 additions and 3 deletions

View File

@@ -241,7 +241,8 @@ export function MediaStreamer(__setActive, __setInactive, __setInfo, __orient) {
if (__decoder !== null) {
try {
__decoder.close();
} catch { // eslint-disable-line no-empty
} catch {
// Pass
} finally {
__decoder = null;
__codec = "";

View File

@@ -486,7 +486,7 @@ export function Switch() {
<div class="switch-box">
<input
type="checkbox" id="__switch-port-dummy-switch"
${model.ports[port].video.dummy ? 'checked' : ''}
${model.ports[port].video.dummy ? "checked" : ""}
/>
<label for="__switch-port-dummy-switch">
<span class="switch-inner"></span>