only automatically download in usercontent if user requested it
This commit is contained in:
parent
0e65d54af2
commit
c0b68ccd53
2 changed files with 6 additions and 1 deletions
|
@ -27,7 +27,10 @@ function remoteRender(event) {
|
|||
// Don't display scrollbars if the link takes more than one line to display.
|
||||
body.style = "margin: 0px; overflow: hidden";
|
||||
body.appendChild(a);
|
||||
a.click(); // try to trigger download automatically
|
||||
|
||||
if (event.data.auto) {
|
||||
a.click(); // try to trigger download automatically
|
||||
}
|
||||
}
|
||||
|
||||
function remoteSetTint(event) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue