mirror of
https://github.com/bestnite/sub2clash.git
synced 2025-07-07 05:12:34 +08:00
u
This commit is contained in:
@ -1,11 +1,9 @@
|
||||
function setInputReadOnly(input, readonly) {
|
||||
if (readonly) {
|
||||
input.readOnly = true;
|
||||
input.classList.add('bg-light');
|
||||
input.style.cursor = 'not-allowed';
|
||||
} else {
|
||||
input.readOnly = false;
|
||||
input.classList.remove('bg-light');
|
||||
input.style.cursor = 'auto';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user