mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 15:04:11 +01:00
Fix some of the more horrendous editor.js code.
--HG-- extra : rebase_source : 1675c92e880249d90a59576291254724fb863c4e
This commit is contained in:
@@ -313,8 +313,7 @@ var Buffer = Module("Buffer", {
|
||||
|
||||
// Hack to deal with current versions of Firefox misplacing
|
||||
// the caret
|
||||
if (!overlay.getData(elem, "had-focus", false) &&
|
||||
elem.value &&
|
||||
if (!overlay.getData(elem, "had-focus", false) && elem.value &&
|
||||
elem instanceof Ci.nsIDOMHTMLInputElement &&
|
||||
DOM(elem).isEditable &&
|
||||
elem.selectionStart != null &&
|
||||
|
||||
Reference in New Issue
Block a user