vendor/assets/javascripts/tab.js in flashgrid-4.0.6 vs vendor/assets/javascripts/tab.js in flashgrid-4.0.7

- old
+ new

@@ -77,10 +77,10 @@ element.addClass('in') } else { element.removeClass('fade') } - if (element.parent('.dropdown-menu')) { + if (element.parent('.dropdown-menu').length) { element .closest('li.dropdown') .addClass('active') .end() .find('[data-toggle="tab"]') \ No newline at end of file