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

Side by Side Diff: static/js/main.js

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.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | templates/default.tmpl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 (function()
2 {
3 document.addEventListener("DOMContentLoaded", function()
4 {
5
6 /**************************************************************************
7 * General
8 **************************************************************************/
9
10 // Change html class name from "no-js" to "js"
11 document.documentElement.className = "js";
12
13 }, false);
14 }());
OLDNEW
« no previous file with comments | « no previous file | templates/default.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld