EBernhardson has submitted this change and it was merged.

Change subject: Add a no javascript warning for mobile devices
......................................................................


Add a no javascript warning for mobile devices

Change-Id: I035fec41981d916014ac76dac45dbcc31c913662
---
M views/score_query.twig
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  EBernhardson: Verified; Looks good to me, approved



diff --git a/views/score_query.twig b/views/score_query.twig
index 36646e6..4098215 100644
--- a/views/score_query.twig
+++ b/views/score_query.twig
@@ -60,6 +60,12 @@
         </dl>
     </div>
 
+    <noscript>
+        <div class="errors hidden-md hidden-lg">
+            <p class="bg-danger">Discernatron requires javascript on mobile 
devices</p>
+        </div>
+    </noscript>
+
     <form method="post" novalidate>
         {{ form_errors(form) }}
         {{ form_row(form._token) }}

-- 
To view, visit https://gerrit.wikimedia.org/r/286080
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I035fec41981d916014ac76dac45dbcc31c913662
Gerrit-PatchSet: 2
Gerrit-Project: wikimedia/discovery/discernatron
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <ebernhard...@wikimedia.org>
Gerrit-Reviewer: EBernhardson <ebernhard...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to