updating js
This commit is contained in:
parent
ca27b391b1
commit
3a1c6fea77
|
@ -217,7 +217,7 @@ input::-moz-focus-inner {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
textarea {
|
textarea {
|
||||||
padding: 2px;
|
padding: 2px 4px 2px 4px;
|
||||||
margin: -1px 0 0 -1px;
|
margin: -1px 0 0 -1px;
|
||||||
resize: none;
|
resize: none;
|
||||||
-moz-border-radius: 8px;
|
-moz-border-radius: 8px;
|
||||||
|
|
|
@ -1839,8 +1839,12 @@ requires
|
||||||
that.bindEvent("click_" + self.autocompleteId, onClick);
|
that.bindEvent("click_" + self.autocompleteId, onClick);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (self.options.type != "textarea") {
|
||||||
|
that.bindEvent({
|
||||||
|
key_enter: submit,
|
||||||
|
});
|
||||||
|
}
|
||||||
that.bindEvent({
|
that.bindEvent({
|
||||||
key_enter: submit,
|
|
||||||
key_escape: cancel
|
key_escape: cancel
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user