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

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

Issue 944453002: Files.app: Fix broken js-comp by casting details panel to HTMLElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/js/import_controller.js
diff --git a/ui/file_manager/file_manager/foreground/js/import_controller.js b/ui/file_manager/file_manager/foreground/js/import_controller.js
index fac4e6d4fdac8a8a6a74f7b0820afa5fe18024df..a179c2abad9c826e160aca8f3dd4c7f1aab7a904 100644
--- a/ui/file_manager/file_manager/foreground/js/import_controller.js
+++ b/ui/file_manager/file_manager/foreground/js/import_controller.js
@@ -559,7 +559,9 @@ importer.RuntimeCommandWidget.prototype.setDetailsVisible_ = function(visible) {
} else {
this.detailsPanel_.className = 'hidden';
// transition duration is 200ms. Let's wait for 400ms.
- ensureTransitionEndEvent(this.detailsPanel_, 400);
+ ensureTransitionEndEvent(
+ /** @type {!HTMLElement} */ (this.detailsPanel_),
+ 400);
}
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698