Index: chrome/browser/resources/file_manager/js/photo/gallery.js |
diff --git a/chrome/browser/resources/file_manager/js/photo/gallery.js b/chrome/browser/resources/file_manager/js/photo/gallery.js |
index 613cca24e6df6f4e2e3b742285cecbeb0884bd81..867ebdeb2fe6dbda1515c1e96b1a56e8df0d3482 100644 |
--- a/chrome/browser/resources/file_manager/js/photo/gallery.js |
+++ b/chrome/browser/resources/file_manager/js/photo/gallery.js |
@@ -244,7 +244,7 @@ Gallery.prototype.initDom_ = function() { |
var onThumbnailError = this.context_.onThumbnailError || function() {}; |
if (this.context_.allowMosaic) { |
- this.modeButton_ = util.createChild(this.toolbar_, 'button mode'); |
+ this.modeButton_ = util.createChild(this.toolbar_, 'button mode', 'button'); |
this.modeButton_.addEventListener('click', |
this.toggleMode_.bind(this, null)); |