Issue #1277352 by quartsize, lewisnyman, nod_, JohnAlbin, kika, dcmouyard: Fixed Responsive vertical tabs.

8.0.x
webchick 2012-10-13 21:37:11 -07:00
parent 3b8186a306
commit 546fcdfefe
1 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,11 @@
*/
Drupal.behaviors.verticalTabs = {
attach: function (context) {
if (!Drupal.checkWidthBreakpoint()) {
return;
}
$(context).find('.vertical-tabs-panes').once('vertical-tabs', function () {
var $this = $(this);
var focusID = $this.find(':hidden.vertical-tabs-active-tab').val();