| Index: ui/file_manager/gallery/js/gallery.js
|
| diff --git a/ui/file_manager/gallery/js/gallery.js b/ui/file_manager/gallery/js/gallery.js
|
| index 13039a4fa9ab017c082ee2a69b5fbf4daf5ca5e6..1bbde3214667fb4923938b0c8da90762a0dce4e4 100644
|
| --- a/ui/file_manager/gallery/js/gallery.js
|
| +++ b/ui/file_manager/gallery/js/gallery.js
|
| @@ -776,7 +776,9 @@ Gallery.prototype.onKeyDown_ = function(event) {
|
| switch (keyString) {
|
| case 'Backspace':
|
| // The default handler would call history.back and close the Gallery.
|
| - event.preventDefault();
|
| + // Except while typing into text.
|
| + if(!event.target.classList.contains('text'))
|
| + event.preventDefault();
|
| break;
|
|
|
| case 'm': // 'm' switches between Slide and Mosaic mode.
|
|
|