Browse Source

Fix download URL for the fallback method

pull/2/head
Deathamns 10 years ago
committed by gorhill
parent
commit
358ec2c644
  1. 4
      src/js/vapi-common.js

4
src/js/vapi-common.js

@ -18,11 +18,11 @@ vAPI.download = function(details) {
a.dispatchEvent(new MouseEvent('click'));
}
else {
var messager = vAPI.messaging.channel('download');
var messager = vAPI.messaging.channel('_download');
messager.send({
what: 'gotoURL',
details: {
url: a.target.href,
url: details.url,
index: -1
}
});

Loading…
Cancel
Save