From 8652ada561baf9acac83ac88f713ab7560245cf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Tue, 23 Oct 2018 08:27:27 +0200 Subject: [PATCH] Tooltip on hover only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/files/js/filelist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 213d65cdad..6c86286d56 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -330,7 +330,7 @@ // Toggle for grid view this.$showGridView = $('input#showgridview'); this.$showGridView.on('change', _.bind(this._onGridviewChange, this)); - $('#view-toggle').tooltip({placement: 'bottom'}); + $('#view-toggle').tooltip({placement: 'bottom', trigger: 'hover'}); this._onResize = _.debounce(_.bind(this._onResize, this), 250); $('#app-content').on('appresized', this._onResize);