Permalink
Browse files

fixed minor regression

  • Loading branch information...
gildas-lormeau committed Nov 1, 2012
1 parent 032805a commit e6748572416847a15ca945a66b6cf8ec1701e81f
Showing with 2 additions and 2 deletions.
  1. +1 −1 WebContent/manifest.json
  2. +1 −1 WebContent/scripts/inject_editor.js
View
@@ -4,7 +4,7 @@
"16": "icon_16.png",
"48": "icon_48.png",
"128": "icon_128.png"},
"version": "0.0.29",
"version": "0.0.30",
"description": "Edit any HTML page into Chrome with this powerful WYSIWYG editor",
"content_scripts": [{
"matches": ["http://*/*", "https://*/*", "file:///*"],
@@ -48,7 +48,7 @@ var pageedit;
function savedialog(editor) {
var link = document.createElement("a"), BOM = new ArrayBuffer(3), v = new Uint8Array(BOM);
v.set([ 0xEF, 0xBB, 0xBF ]);
link.href = URL.createObjectURL(new Blob(BOM, editor.getData()));
link.href = URL.createObjectURL(new Blob([ BOM, editor.getData() ]));
link.download = (location.pathname.split("/").pop() || "Unnamed page.html");
link.innerHTML = "Download the page";
link.style.textDecoration = "underline";

0 comments on commit e674857

Please sign in to comment.