mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
lint fixes
This commit is contained in:
@@ -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 = "";
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user