| 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..12e1885a18898c5f8783c50594836b0af1faa8b7 100644
|
| --- a/ui/file_manager/gallery/js/slide_mode.js
|
| +++ b/ui/file_manager/gallery/js/slide_mode.js
|
| @@ -409,7 +409,13 @@ function SlideMode(container, content, topToolbar, bottomToolbar, prompt,
|
| * @private
|
| * @const
|
| */
|
| - this.editBarMode_ = util.createChild(this.container_, 'edit-modal');
|
| + this.editBarMode_ =
|
| + /** @type {!HTMLElement} */ (document.createElement('div'));
|
| + this.editBarMode_.className = 'edit-modal';
|
| + // Edit modal bar should be inserted before the bottom toolbar to make the tab
|
| + // order and visual position consistent.
|
| + this.container_.insertBefore(
|
| + this.editBarMode_, document.querySelector('#bottom-toolbar'));
|
|
|
| /**
|
| * @type {!HTMLElement}
|
|
|