diff --git a/plugins/c9.ide.editors/editors.js b/plugins/c9.ide.editors/editors.js index 510e3273..00bd870d 100644 --- a/plugins/c9.ide.editors/editors.js +++ b/plugins/c9.ide.editors/editors.js @@ -105,7 +105,7 @@ define(function(require, module, exports) { extensions.forEach(function(ext) { // force lower-case, to account for other LowerCase checks below ext = ext.toLowerCase(); - (fileExtensions[ext] || (fileExtensions[ext] = [])).unshift(editor); + (fileExtensions[ext] || (fileExtensions[ext] = [])).push(editor); }); if (editor.type == options.defaultEditor) @@ -276,4 +276,4 @@ define(function(require, module, exports) { editors: plugin }); } -}); +}); \ No newline at end of file diff --git a/plugins/c9.ide.editors/imgview.js b/plugins/c9.ide.editors/imgview.js index c3ffd614..c75f09ac 100644 --- a/plugins/c9.ide.editors/imgview.js +++ b/plugins/c9.ide.editors/imgview.js @@ -12,7 +12,7 @@ define(function(require, exports, module) { /***** Initialization *****/ - var extensions = ["gif", "ico", "svg"]; + var extensions = ["gif", "ico"]; function ImageEditor(){ var plugin = new Editor("Ajax.org", main.consumes, extensions); @@ -135,4 +135,4 @@ define(function(require, exports, module) { ImageEditor, extensions) }); } -}); +}); \ No newline at end of file