s/makeURI/window.makeURI/; s/'/"/

This commit is contained in:
Kris Maglione committed 2008-12-28 15:43:30 -05:00
1 parent e757af0456
commit dc0d92cc55
2 files changed
+8 -6

No files matched your search

+2 -5
View File
@@ -569,12 +569,9 @@ function Buffer() //{{{
let file = io.getFile(filename);
if (file.exists() && !args.bang)
{
liberator.echoerr("E13: File exists (add ! to override)");
return;
}
return void liberator.echoerr("E13: File exists (add ! to override)");
chosenData = { file: file, uri: makeURI(doc.location.href, doc.characterSet) };
chosenData = { file: file, uri: window.makeURI(doc.location.href, doc.characterSet) };
}
// if browser.download.useDownloadDir = false then the "Save As"