Skip to content

Instantly share code, notes, and snippets.

@jpdevries
Last active May 21, 2016 11:10
Show Gist options
  • Save jpdevries/d516ba8f0abb40ab292d to your computer and use it in GitHub Desktop.
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