From 415a8d1e01107e8bcff1a1ac1bdd8beb2d461408 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 21 Jun 2016 19:42:08 -0700 Subject: channel homepage not providing content when javascript disabled --- Zotlabs/Web/CheckJS.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Zotlabs/Web') diff --git a/Zotlabs/Web/CheckJS.php b/Zotlabs/Web/CheckJS.php index 5f9856a8c..109790fa5 100644 --- a/Zotlabs/Web/CheckJS.php +++ b/Zotlabs/Web/CheckJS.php @@ -21,6 +21,9 @@ class CheckJS { $page = urlencode(\App::$query_string); if($test) { + self::$jsdisabled = 1; + if(array_key_exists('jsdisabled',$_COOKIE)) + self::$jsdisabled = $_COOKIE['jsdisabled']; if(! array_key_exists('jsdisabled',$_COOKIE)) { \App::$page['htmlhead'] .= "\r\n" . '' . "\r\n"; -- cgit v1.2.3