mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
Fix download URL for the fallback method
This commit is contained in:
parent
749b6f186d
commit
5e99ead9ff
@ -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…
Reference in New Issue
Block a user