Chromium Code Reviews| Index: ui/file_manager/gallery/js/slide_mode.js |
| diff --git a/ui/file_manager/gallery/js/slide_mode.js b/ui/file_manager/gallery/js/slide_mode.js |
| index e74908f0cc13985f58b32b5c6e77d31e206f0ab2..5effd8e40e2ac921a93b9dd751b8c48fd87366bb 100644 |
| --- a/ui/file_manager/gallery/js/slide_mode.js |
| +++ b/ui/file_manager/gallery/js/slide_mode.js |
| @@ -409,7 +409,12 @@ function SlideMode(container, content, topToolbar, bottomToolbar, prompt, |
| * @private |
| * @const |
| */ |
| - this.editBarMode_ = util.createChild(this.container_, 'edit-modal'); |
| + this.editBarMode_ = document.createElement('div'); |
| + this.editBarMode_.className = 'edit-modal'; |
| + // Edito modal should be inserted before the bottom toolbar to make the tab |
|
oka
2016/11/17 07:26:40
typo: Edito
fukino
2016/11/17 08:38:00
Done.
|
| + // order and visual position consistent. |
| + this.container_.insertBefore( |
| + this.editBarMode_, document.querySelector('#bottom-toolbar')); |
| /** |
| * @type {!HTMLElement} |