Bugfix+minor improvements

This commit is contained in:
Ace
2019-04-17 23:41:08 +02:00
committed by GitHub
parent eed4f110e4
commit e73da0fc62

View File

@@ -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);
}