pull/3570/head
Rich Harris 6 years ago committed by GitHub
parent 6d4b652456
commit 896b2c7a8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -180,12 +180,8 @@ export function set_data(text, data) {
}
export function set_input_value(input, value) {
if (value === null || value === undefined) {
value = "";
}
if (input.value !== value) {
input.value = value;
}
if (value == null) value = '';
if (input.value !== value) input.value = value;
}
export function set_input_type(input, type) {

Loading…
Cancel
Save