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

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

Issue 274473004: Nitpicking fixes for Files.app code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/preview_panel.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/preview_panel.js b/ui/file_manager/file_manager/foreground/js/ui/preview_panel.js
index bfd8be8a99f86017410712ca5dbf652869c52dca..a463f64549bac23f4028f4d6ddf7f5eb04daf900 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/preview_panel.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/preview_panel.js
@@ -159,7 +159,7 @@ PreviewPanel.prototype = {
set visibilityType(visibilityType) {
this.visibilityType_ = visibilityType;
this.updateVisibility_();
- // Also update the preview area contents, because the update is surpressed
+ // Also update the preview area contents, because the update is suppressed
// while the visibility is hiding or hidden.
this.updatePreviewArea_();
},
@@ -186,7 +186,7 @@ PreviewPanel.prototype.initialize = function() {
this.element_.addEventListener('webkitTransitionEnd',
this.onTransitionEnd_.bind(this));
this.updateVisibility_();
- // Also update the preview area contents, because the update is surpressed
+ // Also update the preview area contents, because the update is suppressed
// while the visibility is hiding or hidden.
this.updatePreviewArea_();
};
@@ -251,7 +251,7 @@ PreviewPanel.prototype.updateVisibility_ = function() {
* @private
*/
PreviewPanel.prototype.updatePreviewArea_ = function(breadCrumbsVisible) {
- // If the previw panel is hiding, does not update the current view.
+ // If the preview panel is hiding, does not update the current view.
if (!this.visible)
return;
var selection = this.selection_;

Powered by Google App Engine
This is Rietveld 408576698