Mark when JavaScript is available
This might be useful for custom styling, or for using a pure-CSS fallback for some scripted behavior. There is already a no-js class set on the <html> element; this change removes it when JavaScript is running OK.pull/29904/head
parent
9c475f3c2b
commit
7738ba16fc
|
@ -72,6 +72,8 @@ var kub = (function () {
|
|||
headlineWrapper = $('#headlineWrapper');
|
||||
HEADER_HEIGHT = header.outerHeight();
|
||||
|
||||
document.documentElement.classList.remove('no-js');
|
||||
|
||||
resetTheView();
|
||||
|
||||
window.addEventListener('resize', resetTheView);
|
||||
|
|
Loading…
Reference in New Issue