Permalink
Browse files

cleanup

  • Loading branch information...
1 parent 54227d2 commit eee30022eef600899a6150ce815d7a233df7abed @germboy committed Apr 11, 2012
Showing with 1 addition and 6 deletions.
  1. +1 −6 source/Accordion.js
View
@@ -17,10 +17,6 @@ enyo.kind({
silent = ((silent === undefined) || (silent === false)) ? false : true;
this.bubbleUp("onToggle", silent);
- // We propagate 'click' as 'change' for IE
- // compatibility, as discussed in the 'change' method
- // comments.
- //this.bubbleUp("onchange", inEvent);
}
});
@@ -86,7 +82,6 @@ enyo.kind({
rendered: function() {
this.inherited(arguments);
- //this.applyHeight();
},
getHeader: function(inSender, inEvent) {
@@ -150,7 +145,7 @@ enyo.kind({
return true;
},
applyHeight: function(headerHeight, itemCount) {
- //console.log(itemCount);
+
if ( ( this.hasNode() ) && ( this.header.hasNode() ) ) {
this.setMaxHeight( (this.node.offsetHeight - (headerHeight*2)) );

0 comments on commit eee3002

Please sign in to comment.