[stable16] Force hide tooltips on sidebar close (#17500)

[stable16] Force hide tooltips on sidebar close
This commit is contained in:
John Molakvoæ 2019-10-11 07:45:39 +02:00 committed by GitHub
commit bb34e90866
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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'));
};