Hide the tooltip if the list row is rerendered

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2019-12-05 14:32:32 +01:00 committed by Backportbot
parent b307d32ed1
commit bbf417ec85
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);