};
}]);
+
angular.module('b2b.att.collapse', ['b2b.att.transition'])
// The collapsible directive indicates a block of html that will expand and collapse
});
} else if (attrs.axis === 'y') {
visibleHeight = parseInt(attrs.height, 10) || b2bWhenScrollEndsConstants.height;
- if (element.css('width')) {
+ if (element.css('height')) {
visibleHeight = element.css('height').split('px')[0];
}