Index: ui/file_manager/gallery/js/image_editor/image_editor.js |
diff --git a/ui/file_manager/gallery/js/image_editor/image_editor.js b/ui/file_manager/gallery/js/image_editor/image_editor.js |
index f9f5db4ee511d9f1c9f41710e0bef65617c5fafb..7b0d5ef9301817e596024caa9879cfc211da5874 100644 |
--- a/ui/file_manager/gallery/js/image_editor/image_editor.js |
+++ b/ui/file_manager/gallery/js/image_editor/image_editor.js |
@@ -1132,8 +1132,7 @@ ImageEditor.Prompt.prototype.setTimer = function(callback, timeout) { |
*/ |
ImageEditor.Prompt.prototype.show = function(text, timeout, var_formatArgs) { |
var args = [text].concat(Array.prototype.slice.call(arguments, 2)); |
- var message = this.displayStringFunction_.apply( |
- null, [text].concat(args)); |
+ var message = this.displayStringFunction_.apply(null, args); |
this.showStringAt('center', message, timeout); |
}; |