Skip to content

Instantly share code, notes, and snippets.

@jpdevries
Last active May 21, 2016 11:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jpdevries/d516ba8f0abb40ab292d to your computer and use it in GitHub Desktop.
settings-table for old browsers
$('.settings-table').each(function(){
$(this).on('focusin click','tbody > tr:not(.setting-form)',function(e){
$(this).addClass('open').siblings('.open').removeClass('open');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment