1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-13 14:25:51 +01:00

Closes issue #1280.

This commit is contained in:
Kris Maglione
2015-03-02 17:10:59 -08:00
parent 17300e6748
commit c84c657d27
2 changed files with 10 additions and 3 deletions

View File

@@ -838,8 +838,14 @@ var Buffer = Module("Buffer", {
else
persist.progressListener = downloadListener;
persist.saveURI(params.uri, null, null, null, null,
file.file, privacy);
if (persist.saveURI.length <= 7)
persist.saveURI(params.uri, null, null, null, null,
file.file, privacy);
else
// Let's add an extra null to the middle of the arguments
// list, because why not.
persist.saveURI(params.uri, null, null, null, null, null,
file.file, privacy);
},
/**