Bugfix+minor improvements
This commit is contained in:
parent
eed4f110e4
commit
e73da0fc62
@ -295,7 +295,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
||||
a.href = link.href;
|
||||
a.download = link.href.substr(link.href.lastIndexOf('/') + 1);
|
||||
document.body.appendChild(a);
|
||||
$(a).attr('download','setting.py');
|
||||
$(a).attr('download','settings.py');
|
||||
a.click();
|
||||
document.body.removeChild(a);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user