mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-14 02:48:17 +02:00
fix
This commit is contained in:
parent
f1db0e9e53
commit
33ff5917be
1 changed files with 10 additions and 0 deletions
|
@ -475,6 +475,15 @@ function unbindAllInputs() {
|
|||
}
|
||||
}
|
||||
|
||||
function clearSelection() {
|
||||
if(document.selection && document.selection.empty) {
|
||||
document.selection.empty();
|
||||
} else if(window.getSelection) {
|
||||
var sel = window.getSelection();
|
||||
sel.removeAllRanges();
|
||||
}
|
||||
}
|
||||
|
||||
function loaded() {
|
||||
openEventBridge(function() {
|
||||
|
||||
|
@ -1051,6 +1060,7 @@ function loaded() {
|
|||
activeElement.select();
|
||||
}
|
||||
}
|
||||
clearSelection();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue