Lint errors
This commit is contained in:
parent
b7a0547b77
commit
503e9de07c
@ -650,13 +650,6 @@ define([
|
|||||||
return hide;
|
return hide;
|
||||||
};
|
};
|
||||||
|
|
||||||
var updatePathSize = function () {
|
|
||||||
return;
|
|
||||||
var $tb = $driveToolbar;
|
|
||||||
var w = $tree.width() + $tb.find('.leftside').width() + $tb.find('.rightside').width();
|
|
||||||
$driveToolbar.find('.path').css('max-width', 'calc(100vw - '+w+'px)');
|
|
||||||
};
|
|
||||||
|
|
||||||
var getSelectedPaths = function ($element) {
|
var getSelectedPaths = function ($element) {
|
||||||
var paths = [];
|
var paths = [];
|
||||||
if ($iframe.find('.selected').length > 1) {
|
if ($iframe.find('.selected').length > 1) {
|
||||||
@ -738,7 +731,6 @@ define([
|
|||||||
$container.append($a);
|
$container.append($a);
|
||||||
$a.click(function() { $(el).click(); });
|
$a.click(function() { $(el).click(); });
|
||||||
});
|
});
|
||||||
updatePathSize();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
var scrollTo = function ($element) {
|
var scrollTo = function ($element) {
|
||||||
@ -1448,7 +1440,6 @@ define([
|
|||||||
target: $content[0]
|
target: $content[0]
|
||||||
};
|
};
|
||||||
APP.FM.handleFile(file, ev);
|
APP.FM.handleFile(file, ev);
|
||||||
if (callback) { callback(); }
|
|
||||||
});
|
});
|
||||||
$input.click();
|
$input.click();
|
||||||
});
|
});
|
||||||
@ -1865,7 +1856,6 @@ define([
|
|||||||
$toolbar.find('.leftside').append(createNewButton(isInRoot));
|
$toolbar.find('.leftside').append(createNewButton(isInRoot));
|
||||||
|
|
||||||
createTitle(path).appendTo($toolbar.find('.path'));
|
createTitle(path).appendTo($toolbar.find('.path'));
|
||||||
updatePathSize();
|
|
||||||
|
|
||||||
if (APP.mobile()) {
|
if (APP.mobile()) {
|
||||||
var $context = $('<button>', {'class': 'element right dropdown-bar', id: 'contextButton'});
|
var $context = $('<button>', {'class': 'element right dropdown-bar', id: 'contextButton'});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user