Correctly replace favorites icon when re-rendering file actions
This commit is contained in:
parent
a5bb66f4a7
commit
dfe922b72a
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
|||
'<a href="#" class="action action-favorite ' + (isFavorite ? 'permanent' : '') + '">' +
|
||||
starState + '</a>'
|
||||
);
|
||||
$file.find('td:first>.favorite').prepend($icon);
|
||||
$file.find('td:first>.favorite').replaceWith($icon);
|
||||
return $icon;
|
||||
},
|
||||
actionHandler: function(fileName, context) {
|
||||
|
|
Loading…
Reference in a new issue