mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-02-16 18:20:49 +01:00
prevent form submission with enter key
This commit is contained in:
parent
6f0f07937d
commit
2fced6393c
@ -1270,6 +1270,8 @@ export const BookmarkForm = function({
|
|||||||
|
|
||||||
this.element.form.appendChild(this.element.aside);
|
this.element.form.appendChild(this.element.aside);
|
||||||
|
|
||||||
|
this.bind();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
this.bind = () => {
|
this.bind = () => {
|
||||||
|
@ -239,6 +239,8 @@ export const GroupForm = function({
|
|||||||
|
|
||||||
this.element.form.appendChild(this.element.main);
|
this.element.form.appendChild(this.element.main);
|
||||||
|
|
||||||
|
this.bind();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
this.bind = () => {
|
this.bind = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user