Skip to content

Instantly share code, notes, and snippets.

@gabrielgilini
Created November 10, 2008 18:18
Show Gist options
  • Save gabrielgilini/23571 to your computer and use it in GitHub Desktop.
Save gabrielgilini/23571 to your computer and use it in GitHub Desktop.
var b = document.body;
var c = b.className ? b.className + 'js' : 'js';
b.className = c;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment