This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function tableWrap(parentClass){ | |
//parentClass represents a CSS class of the parent content wrapper to make selector specific | |
$('.' + parentClass + ' table').wrap('<div class="table-wrapper"></div>'); | |
} |