Index: ui/file_manager/file_manager/foreground/js/ui/file_table.js |
diff --git a/ui/file_manager/file_manager/foreground/js/ui/file_table.js b/ui/file_manager/file_manager/foreground/js/ui/file_table.js |
index e5ef7831f4ab15f28d35085d8f6bee2c5e819445..1dae4d49e1cc6722cade45ddca2a6e2e5fb0c751 100644 |
--- a/ui/file_manager/file_manager/foreground/js/ui/file_table.js |
+++ b/ui/file_manager/file_manager/foreground/js/ui/file_table.js |
@@ -961,7 +961,7 @@ FileTable.prototype.setThumbnailImage_ = function(box, dataUrl, shouldAnimate) { |
var thumbnail = box.ownerDocument.createElement('div'); |
thumbnail.classList.add('thumbnail'); |
thumbnail.style.backgroundImage = 'url(' + dataUrl + ')'; |
- thumbnail.addEventListener('webkitAnimationEnd', function() { |
+ thumbnail.addEventListener('animationend', function() { |
// Remove animation css once animation is completed in order not to animate |
// again when an item is attached to the dom again. |
thumbnail.classList.remove('animate'); |