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 701343c1c8
commit 41d2aaa32c
4 changed files with 4 additions and 2 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();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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'));
};