Lint compliance

This commit is contained in:
yflory
2017-09-27 10:36:16 +02:00
parent e02a779c14
commit 8de1852ab9
2 changed files with 5 additions and 17 deletions

View File

@@ -320,9 +320,9 @@ define([
$container.html('');
var unit = Util.magnitudeOfBytes(limit);
var usage = unit === 'GB'? Util.bytesToGigabytes(usage):
usage = unit === 'GB'? Util.bytesToGigabytes(usage):
Util.bytesToMegabytes(usage);
var limit = unit === 'GB'? Util.bytesToGigabytes(limit):
limit = unit === 'GB'? Util.bytesToGigabytes(limit):
Util.bytesToMegabytes(limit);
var $limit = $('<span>', {'class': 'cp-limit-bar'}).appendTo($container);