Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: ui/file_manager/file_manager/foreground/js/ui/file_grid.js

Issue 954373003: Add transition animations to thumbnail updates in list view. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix to pass presubmit. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/file_manager/file_manager/foreground/js/ui/file_grid.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/file_grid.js b/ui/file_manager/file_manager/foreground/js/ui/file_grid.js
index db001f078038eca50e5ad20caf488987df4eac70..e680ed21129f125687f3b512bf2ac86edce615a2 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/file_grid.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/file_grid.js
@@ -279,7 +279,7 @@ FileGrid.setThumbnailImage_ = function(box, dataUrl, shouldAnimate) {
thumbnail.style.backgroundImage = 'url(' + dataUrl + ')';
thumbnail.addEventListener('webkitAnimationEnd', function() {
// Remove animation css once animation is completed in order not to animate
- // agein when an item is attached to the dom again.
+ // again when an item is attached to the dom again.
thumbnail.classList.remove('animate');
for (var i = 0; i < oldThumbnails.length; i++) {

Powered by Google App Engine
This is Rietveld 408576698