From 96bc1397b1d03d52da1befb685f331be5183e782 Mon Sep 17 00:00:00 2001 From: Daniel Calviño Sánchez Date: Thu, 31 Jan 2019 19:00:06 +0100 Subject: Add missing trailing ";" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Calviño Sánchez --- apps/files/js/filelist.js | 2 +- apps/files/js/navigation.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/files') diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 66965eab52b..44d607ada49 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -361,7 +361,7 @@ this.$fileList.on('click','td.filename>a.name, td.filesize, td.date', _.bind(this._onClickFile, this)); this.$fileList.on("droppedOnTrash", function (event, filename, directory) { - self.do_delete(filename, directory) + self.do_delete(filename, directory); }); this.$fileList.on('change', 'td.selection>.selectCheckBox', _.bind(this._onClickFileCheckbox, this)); diff --git a/apps/files/js/navigation.js b/apps/files/js/navigation.js index f749bf5dd51..877b3184a51 100644 --- a/apps/files/js/navigation.js +++ b/apps/files/js/navigation.js @@ -62,13 +62,13 @@ * Setup UI events */ _setupEvents: function () { - this.$el.on('click', 'li a', _.bind(this._onClickItem, this)) + this.$el.on('click', 'li a', _.bind(this._onClickItem, this)); this.$el.on('click', 'li button', _.bind(this._onClickMenuButton, this)); var trashElement=$(".nav-trashbin"); trashElement.droppable({ over: function( event, ui ) { - trashElement.addClass('dropzone-background') + trashElement.addClass('dropzone-background'); }, out: function( event, ui ) { trashElement.removeClass('dropzone-background'); @@ -219,7 +219,7 @@ */ setInitialQuickaccessSettings: function () { var quickAccessKey = this.$quickAccessListKey; - var quickAccessMenu = document.getElementById(quickAccessKey) + var quickAccessMenu = document.getElementById(quickAccessKey); if (quickAccessMenu) { var list = quickAccessMenu.getElementsByTagName('li'); this.QuickSort(list, 0, list.length - 1); -- cgit v1.2.3