mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2026-06-25 00:00:20 +08:00
Reinstate select listener. Fixes #1868
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user