updating js
This commit is contained in:
parent
cda23cbf42
commit
7b16660652
2 changed files with 6 additions and 2 deletions
|
@ -217,7 +217,7 @@ input::-moz-focus-inner {
|
|||
border: none;
|
||||
}
|
||||
textarea {
|
||||
padding: 2px;
|
||||
padding: 2px 4px 2px 4px;
|
||||
margin: -1px 0 0 -1px;
|
||||
resize: none;
|
||||
-moz-border-radius: 8px;
|
||||
|
|
|
@ -1839,8 +1839,12 @@ requires
|
|||
that.bindEvent("click_" + self.autocompleteId, onClick);
|
||||
}
|
||||
|
||||
if (self.options.type != "textarea") {
|
||||
that.bindEvent({
|
||||
key_enter: submit,
|
||||
});
|
||||
}
|
||||
that.bindEvent({
|
||||
key_enter: submit,
|
||||
key_escape: cancel
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue