1
0
mirror of https://github.com/bestnite/sub2clash.git synced 2025-12-12 17:50:16 +00:00
This commit is contained in:
2025-07-05 22:57:46 +08:00
parent ff81d03492
commit 0a9892503d

View File

@@ -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';
}
}