lint compliance

pull/1/head
yflory 5 years ago
parent 1a54f87b5b
commit d1670d214a

@ -3314,10 +3314,11 @@ define([
} }
// Display the pad // Display the pad
/*
var $icon = getFileIcon(id); var $icon = getFileIcon(id);
var ro = manager.isReadOnlyFile(id); var ro = manager.isReadOnlyFile(id);
// ro undefined means it's an old hash which doesn't support read-only // ro undefined means it's an old hash which doesn't support read-only
/*var roClass = typeof(ro) === 'undefined' ? ' cp-app-drive-element-noreadonly' : var roClass = typeof(ro) === 'undefined' ? ' cp-app-drive-element-noreadonly' :
ro ? ' cp-app-drive-element-readonly' : ''; ro ? ' cp-app-drive-element-readonly' : '';
var $element = $('<li>', { var $element = $('<li>', {
'class': 'cp-app-drive-element cp-app-drive-element-notrash cp-app-drive-element-file cp-app-drive-element-row' + roClass, 'class': 'cp-app-drive-element cp-app-drive-element-notrash cp-app-drive-element-file cp-app-drive-element-row' + roClass,

Loading…
Cancel
Save