fix typo in textinput.js
This commit is contained in:
parent
938d6b658d
commit
0514860492
4 changed files with 4 additions and 4 deletions
|
|
@ -368,7 +368,7 @@ var TextInput = function(parentNode, host) {
|
|||
// text.style.cssText += "background:rgba(250, 0, 0, 0.3); opacity:1;";
|
||||
|
||||
resetSelection(host.selection.isEmpty());
|
||||
host._emit("nativecontextmenu", {target: editor});
|
||||
host._emit("nativecontextmenu", {target: host});
|
||||
var rect = host.container.getBoundingClientRect();
|
||||
var move = function(e) {
|
||||
text.style.left = e.clientX - rect.left - 2 + "px";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue