stream settings: Fix cancel button in create stream to update the URL.

Clicking cancel button in create stream form wasn't updating the URL hash.
This commit is contained in:
aparna-bhatt 2023-03-09 23:34:57 +05:30 committed by Tim Abbott
parent 710e42f862
commit 998f0b3735
1 changed files with 1 additions and 1 deletions

View File

@ -1166,7 +1166,7 @@ export function initialize() {
// click; this fixes an issue where hitting "Enter" would // click; this fixes an issue where hitting "Enter" would
// trigger this code path due to bootstrap magic. // trigger this code path due to bootstrap magic.
if (e.clientY !== 0) { if (e.clientY !== 0) {
show_subs_pane.nothing_selected(); stream_edit.open_edit_panel_empty();
} }
}); });