src/utils/fixed-accordion.directive.js
Function link
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function ($scope, $element, $attrs) {
var contentElementHeight = function (contentElement) {
var contentHeight = contentElement.offsetHeight;
contentHeight += parseInt(getComputedStyle(contentElement).marginTop);
contentHeight += parseInt(getComputedStyle(contentElement).marginBottom);