diff --git a/js/views/file_input_view.js b/js/views/file_input_view.js index b8a014358..b0662f072 100644 --- a/js/views/file_input_view.js +++ b/js/views/file_input_view.js @@ -38,7 +38,8 @@ 'dragleave': 'hideArea' }, - open: function() { + open: function(e) { + e.preventDefault(); // hack if (this.window && this.window.chrome && this.window.chrome.fileSystem) { this.window.chrome.fileSystem.chooseEntry({type: 'openFile'}, function(entry) {