mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-02-21 00:23:02 +08:00
Reinstate select listener. Fixes #1868
This commit is contained in:
parent
f959dababd
commit
9a1f4420af
@ -1130,8 +1130,7 @@ class SimpleKeyboard {
|
||||
document.addEventListener("mouseup", this.handleMouseUp);
|
||||
document.addEventListener("touchend", this.handleTouchEnd);
|
||||
document.addEventListener("selectionchange", this.handleSelectionChange);
|
||||
// Reporting old caret pos @ https://github.com/hodgef/simple-keyboard/issues/1868
|
||||
//document.addEventListener("select", this.handleSelect);
|
||||
document.addEventListener("select", this.handleSelect);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user