From 983aa587ee71a83d21b17de29d2a26763b18292e Mon Sep 17 00:00:00 2001 From: Patrick Crandol Date: Sat, 15 Dec 2018 04:56:38 -0500 Subject: 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 --- p/scripts/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'p/scripts') 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; } -- cgit v1.2.3