summaryrefslogtreecommitdiff
path: root/p/scripts
diff options
context:
space:
mode:
authorGravatar Patrick Crandol <patrick@crandol.com> 2018-12-15 04:56:38 -0500
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2018-12-15 10:56:38 +0100
commit983aa587ee71a83d21b17de29d2a26763b18292e (patch)
treeeb1fca398101e0d562ff37f4ba3bbfd493fbe872 /p/scripts
parent478d3e6611e73974bd3b917c625bf0d099cbf123 (diff)
Add aside_feed to reader view (#2180)
* Add Nav menu to reader mode At this point, it appears to be non-functional in reader mode. * Add aside_feed toggle to reader view * make init_column_categories work in reader view * Make sidebar links redirect to proper view * CSS to support toggleable sidebar in reader view * remove unneeded !important
Diffstat (limited to 'p/scripts')
-rw-r--r--p/scripts/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js
index 0f05a5bf6..6331efc75 100644
--- a/p/scripts/main.js
+++ b/p/scripts/main.js
@@ -536,7 +536,7 @@ function inject_script(name) {
}
function init_column_categories() {
- if (context.current_view !== 'normal') {
+ if (context.current_view !== 'normal' && context.current_view !== 'reader') {
return;
}