From a1163798decb46a717a5f9032fdb9f4ccddaa2a3 Mon Sep 17 00:00:00 2001 From: ClemDee Date: Wed, 5 Jun 2019 12:00:05 +0200 Subject: [PATCH] History button now close history panel when it is open in drive --- www/common/common-ui-elements.js | 19 +++++++++++++------ www/drive/app-drive.less | 3 +++ 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 68921594b..463108671 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -791,16 +791,23 @@ define([ button = $(''); break; } + var active = $(".cp-toolbar-history:visible").length !== 0; button = $('