# in pdf name not working

This commit is contained in:
j 2019-08-19 22:28:52 +02:00
commit 1d5fdf35ec
3 changed files with 7 additions and 2 deletions

View file

@ -2625,6 +2625,11 @@ pandora.openURL = function(url) {
}
};
pandora.safePDFName = function(name) {
name = name.replace('?', '_').replace('#', '_');
return name;
};
pandora.saveURL = function(url, name) {
var link = document.createElement('a');
if (typeof link.download === 'string') {