1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 10:55:56 +00:00

subscribe to feed: use client dialog

This commit is contained in:
Andrew Dolgov
2021-02-15 15:21:25 +03:00
parent ecb36b6354
commit 6b006a18e7
5 changed files with 106 additions and 103 deletions

View File

@@ -838,7 +838,7 @@ const App = {
if (this.is_prefs) {
this.hotkey_actions["feed_subscribe"] = () => {
CommonDialogs.quickAddFeed();
CommonDialogs.subscribeToFeed();
};
this.hotkey_actions["create_label"] = () => {
@@ -994,7 +994,7 @@ const App = {
Feeds.toggleUnread();
};
this.hotkey_actions["feed_subscribe"] = () => {
CommonDialogs.quickAddFeed();
CommonDialogs.subscribeToFeed();
};
this.hotkey_actions["feed_debug_update"] = () => {
if (!Feeds.activeIsCat() && parseInt(Feeds.getActive()) > 0) {
@@ -1139,7 +1139,7 @@ const App = {
Feeds.search();
break;
case "qmcAddFeed":
CommonDialogs.quickAddFeed();
CommonDialogs.subscribeToFeed();
break;
case "qmcDigest":
window.location.href = "backend.php?op=digest";