summaryrefslogtreecommitdiff
path: root/js/App.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-11 08:35:02 +0300
committerAndrew Dolgov <[email protected]>2021-03-11 08:35:02 +0300
commitf9a381eccaf4062d2ac3a7a13fe0e8728d46f007 (patch)
treef72ed0f034837e2a60b9c1c748651604ba848c59 /js/App.js
parent27ab16b6dc649fbda0ee329b42f1882623f9cba6 (diff)
grid: add a header icon (and a hotkey) to toggle article span entire row
Diffstat (limited to 'js/App.js')
-rw-r--r--js/App.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/App.js b/js/App.js
index 649571593..e2da5433b 100644
--- a/js/App.js
+++ b/js/App.js
@@ -1204,6 +1204,9 @@ const App = {
Headlines.renderAgain();
});
};
+ this.hotkey_actions["article_span_grid"] = () => {
+ Article.cdmToggleGridSpan(Article.getActive());
+ };
}
},
openPreferences: function(tab) {