panelize.js 348 B

12345678910111213141516
  1. (function ($, _) {
  2. "use strict";
  3. var $bodies = $('.region-help h2')
  4. .addClass('panel-title')
  5. .wrap('<div class="panel-heading"></div>')
  6. .parent()
  7. .parent()
  8. .children(':last-child');
  9. $bodies
  10. .addClass('panel-body');
  11. $bodies
  12. .parent()
  13. .addClass('panel panel-default col-sm-6');
  14. }(window.jQuery, window._));