From 8acadeea7622e7ed828b9bba494a9fdd9370ad29 Mon Sep 17 00:00:00 2001 From: Sorin Davidoi Date: Thu, 8 Jun 2017 00:52:56 +0200 Subject: fix: Warn if JavaScript is disabled (#3634) --- app/views/home/index.html.haml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/views') diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml index 87cfcaff4..33c978c89 100644 --- a/app/views/home/index.html.haml +++ b/app/views/home/index.html.haml @@ -4,3 +4,7 @@ = javascript_pack_tag 'application', integrity: true, crossorigin: 'anonymous' .app-holder#mastodon{ data: { props: Oj.dump(default_props) } } + %noscript + = image_tag asset_pack_path('logo.png') + %div + = t('errors.noscript') -- cgit