public_html/layouts/basic/modules/Campaigns/resources/Detail.js
Function registerEventForRelatedTabClick
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
registerEventForRelatedTabClick: function () {
var thisInstance = this;
var detailContentsHolder = thisInstance.getContentHolder();
var detailContainer = detailContentsHolder.closest('div.detailViewInfo');
jQuery('.related', detailContainer).on('click', 'li:not(.spaceRelatedList)', function (e, urlAttributes) {