[stable16] Hide the tooltip if the list row is rerendered (#18260)

[stable16] Hide the tooltip if the list row is rerendered
This commit is contained in:
John Molakvoæ 2019-12-07 09:53:18 +01:00 committed by GitHub
commit 7c98898b38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -2568,6 +2568,7 @@
* @return {Object} new row element
*/
updateRow: function($tr, fileInfo, options) {
$tr.find('[data-original-title]').tooltip('hide');
this.files.splice($tr.index(), 1);
$tr.remove();
options = _.extend({silent: true}, options);