mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 09:02:32 +02:00
Fix some of the more horrendous editor.js code.
--HG-- extra : rebase_source : 1675c92e880249d90a59576291254724fb863c4e
This commit is contained in:
1 parent
f294668ad2
commit
8795c093f1
4 files changed
+140
-119
No files matched your search
@@ -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