Skip to content

Instantly share code, notes, and snippets.

@deanbot
Created July 12, 2017 19:13
Show Gist options
  • Save deanbot/5d1c0f7bd2118e9b1030b8776176b952 to your computer and use it in GitHub Desktop.
Save deanbot/5d1c0f7bd2118e9b1030b8776176b952 to your computer and use it in GitHub Desktop.
// include Columnizer-Jquery-Plugin
(function ($) {
$(document).ready(function ($) {
return (function () {
if (!Modernizr.csscolumns) { // eslint-disable-line no-undef
$('section.section-your-challenge-tabs .tab-content-sub ul').columnize({
columns: 2,
lastNeverTallest: true
});
}
}
}());
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment