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:
parent
701343c1c8
commit
41d2aaa32c
|
@ -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
|
@ -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'));
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue