mirror of https://github.com/keeweb/keeweb.git
eslint
This commit is contained in:
parent
6202de44df
commit
e07777179f
|
@ -471,7 +471,7 @@ const FileModel = Backbone.Model.extend({
|
|||
this.db.meta.keyChanged = this._oldKeyChangeDate;
|
||||
}
|
||||
this.set({ keyFileName: '', keyFilePath: '', keyFileChanged: changed });
|
||||
Backbone.trigger('unset-keyfile', this.id)
|
||||
Backbone.trigger('unset-keyfile', this.id);
|
||||
this.setModified();
|
||||
},
|
||||
|
||||
|
|
|
@ -819,7 +819,7 @@ const OpenView = Backbone.View.extend({
|
|||
},
|
||||
|
||||
moveOpenFileSelection: function(steps) {
|
||||
let lastOpenFiles = this.getLastOpenFiles();
|
||||
const lastOpenFiles = this.getLastOpenFiles();
|
||||
if (this.currentSelectedIndex + steps >= 0 &&
|
||||
this.currentSelectedIndex + steps <= lastOpenFiles.length - 1) {
|
||||
this.currentSelectedIndex = this.currentSelectedIndex + steps;
|
||||
|
@ -839,7 +839,7 @@ const OpenView = Backbone.View.extend({
|
|||
|
||||
moveOpenFileSelectionUp: function() {
|
||||
this.moveOpenFileSelection(-1);
|
||||
},
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = OpenView;
|
||||
|
|
Loading…
Reference in New Issue