webroot/js/custom.js
Function recountAll
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function recountAll() {
var baseUrl = $('.baseUrl').html();
var $sidebar = $('#left-sidebar-nav');
var currentPage = $('.log-container h4').attr('data-file');
var notificationText = '';