mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
[stable16] Force hide tooltips on sidebar close (#17500)
[stable16] Force hide tooltips on sidebar close
This commit is contained in:
commit
bb34e90866
4 changed files with 4 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
2
core/js/dist/main.js
vendored
2
core/js/dist/main.js
vendored
File diff suppressed because one or more lines are too long
2
core/js/dist/main.js.map
vendored
2
core/js/dist/main.js.map
vendored
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 a new issue