code cosmetics
This commit is contained in:
parent
135423860d
commit
e3c135e87e
3
dom.js
3
dom.js
|
@ -1,6 +1,6 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
if (!/Windows/i.test(navigator.userAgent)) {
|
if (!navigator.userAgent.includes('Windows')) {
|
||||||
document.documentElement.classList.add('non-windows');
|
document.documentElement.classList.add('non-windows');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,6 @@ function enforceInputRange(element) {
|
||||||
doNotify();
|
doNotify();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
onChange({});
|
|
||||||
element.addEventListener('change', onChange);
|
element.addEventListener('change', onChange);
|
||||||
element.addEventListener('input', onChange);
|
element.addEventListener('input', onChange);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user