Workaround: temperature select not working in Edge
As suggested by @Mikk36 in #2214. Closes #2214.
This commit is contained in:
parent
6c21911eb0
commit
f9c738541f
1 changed files with 6 additions and 2 deletions
|
|
@ -729,9 +729,13 @@ $(function() {
|
|||
if (value === undefined || (typeof(value) === "string" && value.trim() === "")) {
|
||||
item.newTarget(item.target());
|
||||
}
|
||||
event.target.select();
|
||||
window.setTimeout(function() {
|
||||
event.target.select();
|
||||
}, 0);
|
||||
} else if (type === "offset") {
|
||||
event.target.select();
|
||||
window.setTimeout(function() {
|
||||
event.target.select();
|
||||
}, 0);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue