Fixed SonarQube code smell 'Variables should not be shadowed'.

This commit is contained in:
Satish V
2020-06-30 17:26:18 +05:30
committed by Akshay Joshi
parent 6713bc068b
commit 4c05287677
6 changed files with 33 additions and 33 deletions

View File

@@ -454,9 +454,9 @@ define('misc.bgprocess', [
}, 1000
);
var resize_log_container = function($logs, $header, $footer) {
var h = $header.outerHeight() + $footer.outerHeight();
$logs.css('padding-bottom', h);
var resize_log_container = function(logs, header, footer) {
var h = header.outerHeight() + footer.outerHeight();
logs.css('padding-bottom', h);
}.bind(panel, $logs, $header, $footer);
panel.on(wcDocker.EVENT.RESIZED, resize_log_container);