dialog_widget: Remove redundant preventDefault calls.

Removes redundant `preventDefault` and `stopPropagation` calls for the
users of `dialog_widget.ts` module since we are already calling those
functions in the submit button click handler now.
This commit is contained in:
Lalit
2023-06-28 15:48:33 +05:30
committed by Tim Abbott
parent d14caa8400
commit d44f7da1e1
7 changed files with 7 additions and 29 deletions

View File

@@ -452,8 +452,6 @@ export function initialize() {
});
function save_stream_info(e) {
e.preventDefault();
e.stopPropagation();
const sub = get_sub_for_target(e.currentTarget);
const url = `/json/streams/${sub.stream_id}`;