mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 23:18:01 +01:00
Closes issue #636.
This commit is contained in:
@@ -465,6 +465,7 @@ var Buffer = Module("buffer", {
|
|||||||
|
|
||||||
if (!elem.dactylHadFocus && elem.value &&
|
if (!elem.dactylHadFocus && elem.value &&
|
||||||
elem instanceof HTMLInputElement &&
|
elem instanceof HTMLInputElement &&
|
||||||
|
Editor.getEditor(elem) &&
|
||||||
elem.selectionStart != null &&
|
elem.selectionStart != null &&
|
||||||
elem.selectionStart == elem.selectionEnd)
|
elem.selectionStart == elem.selectionEnd)
|
||||||
elem.selectionStart = elem.selectionEnd = elem.value.length;
|
elem.selectionStart = elem.selectionEnd = elem.value.length;
|
||||||
|
|||||||
Reference in New Issue
Block a user