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

Unified Diff: ui/file_manager/file_manager/foreground/js/ui/search_box.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/search_box.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/search_box.js b/ui/file_manager/file_manager/foreground/js/ui/search_box.js
index d038a4ba275bca10e63b5c47438bfafc7acd5710..70da0e5b20f4aef93671a7eee99eaea77c23a40c 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/search_box.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/search_box.js
@@ -105,7 +105,7 @@ SearchBox.AutocompleteList.prototype.onMouseOver_ = function(event) {
};
/**
- * ListItem element for autocomple.
+ * ListItem element for autocomplete.
*
* @param {HTMLDocument} document Document.
* @param {Object} item An object representing a suggestion.
@@ -193,7 +193,7 @@ SearchBox.prototype.onIconClick_ = function() {
SearchBox.prototype.onDragEnter_ = function(event) {
// For normal elements, they does not accept drag drop by default, and accept
// it by using event.preventDefault. But input elements accept drag drop
- // by default. So disalbe the input element here to prohibit drag drop.
+ // by default. So disable the input element here to prohibit drag drop.
if (event.dataTransfer.types.indexOf('text/plain') === -1)
this.inputElement.style.pointerEvents = 'none';
};
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/ui/progress_center_panel.js ('k') | ui/file_manager/gallery/js/gallery.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698