1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 23:47:57 +01:00

Closes issue #636.

This commit is contained in:
Kris Maglione
2011-08-18 15:35:22 -04:00
parent 2596665c1e
commit 05eac8c5c3

View File

@@ -465,6 +465,7 @@ var Buffer = Module("buffer", {
if (!elem.dactylHadFocus && elem.value &&
elem instanceof HTMLInputElement &&
Editor.getEditor(elem) &&
elem.selectionStart != null &&
elem.selectionStart == elem.selectionEnd)
elem.selectionStart = elem.selectionEnd = elem.value.length;