mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/events: adjust event names
1. "change" should be used to passive changes. 2. "submit" should be used to form submits. These are not interchangeable.
This commit is contained in:
@ -39,7 +39,7 @@ class CommentControl extends events.EventTarget {
|
||||
this._hostNode.querySelector('.comment-form-container'),
|
||||
this._comment,
|
||||
true);
|
||||
events.proxyEvent(this._formControl, this, 'submit', 'change');
|
||||
events.proxyEvent(this._formControl, this, 'submit');
|
||||
|
||||
this._installScore();
|
||||
}
|
||||
|
Reference in New Issue
Block a user