]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Removed the logic of getting options from the parent as unnecessary 9685/head
authorharry <harmanmanchanda182@gmail.com>
Mon, 23 Jan 2017 18:08:49 +0000 (23:38 +0530)
committerharry <harmanmanchanda182@gmail.com>
Mon, 23 Jan 2017 18:08:49 +0000 (23:38 +0530)
js/foundation.tabs.js

index fb422de77aa2de12a14c21a5e6319bbf4fdfb851..bb60293b5f8bdec9bfe34a21d74917a234337852 100644 (file)
@@ -327,7 +327,7 @@ class Tabs {
         _this = this; // Lock down the `this` value for the root tabs object
 
     this.$tabContent
-      .find(`.${_this.options.panelClass}`) // get the options from the parent instead of trying to get them from the child
+      .find(`.${this.options.panelClass}`)
       .css('height', '')
       .each(function() {