Index: static/js/main.js |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/static/js/main.js |
@@ -0,0 +1,14 @@ |
+(function() |
juliandoucette
2017/10/26 15:55:56
NIT/Suggest: You can push this separately (sooner)
ire
2017/10/31 08:04:00
See https://codereview.adblockplus.org/29592626
juliandoucette
2017/10/31 12:10:38
Acknowledged.
|
+{ |
+ document.addEventListener("DOMContentLoaded", function() |
+ { |
+ |
+ /************************************************************************** |
+ * General |
+ **************************************************************************/ |
+ |
+ // Change html class name from "no-js" to "js" |
+ document.documentElement.className = "js"; |
+ |
+ }, false); |
+}()); |