fix: role multi select logic
This commit is contained in:
parent
bf6ad4a8c1
commit
27996c05ed
File diff suppressed because one or more lines are too long
@ -29,7 +29,7 @@
|
|||||||
<meta name="twitter:title" content="YouTube Chat Designer">
|
<meta name="twitter:title" content="YouTube Chat Designer">
|
||||||
<meta name="twitter:description" content="YouTube Chat CSS design tool for streamer.">
|
<meta name="twitter:description" content="YouTube Chat CSS design tool for streamer.">
|
||||||
<!-- <meta name="twitter:image" content=""> -->
|
<!-- <meta name="twitter:image" content=""> -->
|
||||||
<script type="module" crossorigin src="/assets/index-hy2HKrru.js"></script>
|
<script type="module" crossorigin src="/assets/index-BKk9KBzt.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-nOkcB8kh.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-nOkcB8kh.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -60,7 +60,8 @@ const $app = $('app').content([
|
|||||||
return
|
return
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
if ($self_input.checked()) return e.preventDefault();
|
if ($self_input.checked() && !IS_MULTI_CHECKED) return e.preventDefault();
|
||||||
|
if ($self_input.checked() && IS_MULTI_CHECKED) e.preventDefault();
|
||||||
$input_list.forEach($input => {
|
$input_list.forEach($input => {
|
||||||
if ($input.id() !== id.toLowerCase()) $input.checked(false)
|
if ($input.id() !== id.toLowerCase()) $input.checked(false)
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user