Fix camelcase eslint rule in ES5 files

[MAILPOET-1144]
This commit is contained in:
Pavel Dohnal
2017-11-30 09:10:08 +00:00
parent dc569672a9
commit 0e08e58288
9 changed files with 96 additions and 97 deletions

View File

@@ -111,12 +111,12 @@ define([
// position of the sidebar would be scrollable and not fixed
// partially out of visible screen
this.$el.parent().each(function () {
var calculated_left;
var calculatedLeft;
var self = jQuery(this);
if (self.css('position') === 'fixed') {
calculated_left = self.parent().offset().left - jQuery(window).scrollLeft();
self.css('left', calculated_left + 'px');
calculatedLeft = self.parent().offset().left - jQuery(window).scrollLeft();
self.css('left', calculatedLeft + 'px');
} else {
self.css('left', '');
}