summaryrefslogtreecommitdiff
path: root/js/CommonDialogs.js
diff options
context:
space:
mode:
authorwn_ <[email protected]>2021-02-20 13:44:42 +0000
committerwn_ <[email protected]>2021-02-21 12:48:15 +0000
commit1bd5152c8016c6019a647bf995d29d81c6b731ed (patch)
tree49fd7e0e7184dee17bb59ab9b57ec47743c28b3f /js/CommonDialogs.js
parentd1328321bebadcf8a530d3c05f52a8f3c58bb969 (diff)
Open the default feed after unsubscribing.
Previously the UI appeared to hang, even though the backend request had already completed successfully.
Diffstat (limited to 'js/CommonDialogs.js')
-rw-r--r--js/CommonDialogs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/CommonDialogs.js b/js/CommonDialogs.js
index 704e797d3..a100a546d 100644
--- a/js/CommonDialogs.js
+++ b/js/CommonDialogs.js
@@ -312,7 +312,7 @@ const CommonDialogs = {
} else {
if (feed_id == Feeds.getActive())
setTimeout(() => {
- Feeds.open({feed: -5})
+ Feeds.openDefaultFeed();
},
100);