lint compliance

This commit is contained in:
ansuz 2020-09-22 11:26:25 +05:30
parent d2f5529653
commit 1c28207c03
1 changed files with 11 additions and 11 deletions

View File

@ -50,17 +50,6 @@ define([
allowFolderUpload: File.prototype.hasOwnProperty("webkitRelativePath"),
};
$(window).keydown(function (e) {
if (e.which === 70 && e.ctrlKey) {
e.preventDefault();
e.stopPropagation();
if (APP.displayDirectory) {
APP.displayDirectory([SEARCH]);
}
return;
}
});
var stringify = function (obj) {
return JSONSortify(obj);
};
@ -164,6 +153,17 @@ define([
var localStore = window.cryptpadStore;
APP.store = {};
$(window).keydown(function (e) {
if (e.which === 70 && e.ctrlKey) {
e.preventDefault();
e.stopPropagation();
if (APP.displayDirectory) {
APP.displayDirectory([SEARCH]);
}
return;
}
});
var makeLS = function (teamId) {
var suffix = teamId ? ('-' + teamId) : '';
var LS_LAST = "app-drive-lastOpened" + suffix;