Closed kevspadillo closed 9 years ago
@kevspadilla: I got an error when I clicked a second time on the same tab:
TypeError: undefined is not a function
at n.scope.click_on_accordion_tab (src/accordion/accordion.js:120:36)
at ib.functionCall (bower_components/angular/angular.min.js:199:303)
at Ec.(anonymous function).compile.d.on.f (bower_components/angular/angular.min.js:216:74)
at n.$get.n.$eval (bower_components/angular/angular.min.js:126:15)
at n.$get.n.$apply (bower_components/angular/angular.min.js:126:241)
at HTMLDivElement.<anonymous> (bower_components/angular/angular.min.js:216:126)
at HTMLDivElement.c (bower_components/angular/angular.min.js:32:389)
Hi! @jspdown , Error message doesn't show in mine. It seems there's an error regarding this line of code.
// Add animation to the accordion group content
element.children().last().slideToggle();
Please see this fiddle... http://jsfiddle.net/kevs017/3dvg6Lkf/2/
@kevspadilla, I'm sorry, something wrong happened when I checkout your commit. It works now. Thanks for your PR :wink:
Your very much welcome!
Added styled attribute to display accordion with border
to
Removed accordion class selector to display grouped accordions