Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: templates/default.tmpl

Issue 29592626: Noissue - Add no-js/js class to HTML element (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Created Oct. 30, 2017, 3:47 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « static/js/main.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: templates/default.tmpl
===================================================================
--- a/templates/default.tmpl
+++ b/templates/default.tmpl
@@ -1,15 +1,17 @@
<!DOCTYPE html>
<html
lang="{{ locale }}"
- dir="{{ "rtl" if config.has_option("rtl", locale) else "ltr" }}">
+ dir="{{ "rtl" if config.has_option("rtl", locale) else "ltr" }}"
+ class="no-js">
<head>
<? include meta/standard ?>
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/demo.css">
</head>
<body>
<div class="container content">
{{ body | safe }}
</div>
+ <script src="/js/main.js"></script>
</body>
</html>
« no previous file with comments | « static/js/main.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld