1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 04:07:59 +01:00

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

This commit is contained in:
Kris Maglione
2008-12-28 15:43:30 -05:00
parent e757af0456
commit dc0d92cc55
2 changed files with 8 additions and 6 deletions

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"