Skip to content

Instantly share code, notes, and snippets.

@adamjgrant
Created February 12, 2014 17:01
Show Gist options
  • Save adamjgrant/8959742 to your computer and use it in GitHub Desktop.
Save adamjgrant/8959742 to your computer and use it in GitHub Desktop.
var $junk = $('div[style], td[style], img[style]');
var $hidden = $('div[style="display:none"], div[style="display: none"], div[style="display:none;"], div[style="display: none;"]');
$($junk).attr('style', '');
$($hidden).hide();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment