Force hide tooltips on sidebar close

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2019-10-09 17:28:45 +02:00 committed by npmbuildbot[bot]
parent 32d12bc533
commit 79473bdfdf
8 changed files with 2 additions and 0 deletions

View file

@ -590,6 +590,7 @@
}
if (!fileName) {
this._detailsView.$el.find('[data-original-title]').tooltip('hide')
this._detailsView.setFileInfo(null);
if (this._currentFileModel) {
this._currentFileModel.off();

BIN
core/js/dist/login.js vendored

Binary file not shown.

Binary file not shown.

BIN
core/js/dist/main.js vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -37,6 +37,7 @@ Apps.showAppSidebar = function ($el) {
*/
Apps.hideAppSidebar = function ($el) {
var $appSidebar = $el || $('#app-sidebar');
$appSidebar.find('[data-original-title]').tooltip('hide')
$appSidebar.hide().addClass('disappear');
$('#app-content').trigger(new $.Event('appresized'));
};