pdfs with ? fail to load
This commit is contained in:
parent
ca54761f22
commit
f1503f129b
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ pandora.ui.document = function() {
|
||||||
? pandora.user.ui.documents[item.id].position
|
? pandora.user.ui.documents[item.id].position
|
||||||
: 1,
|
: 1,
|
||||||
url: '/documents/' + item.id + '/'
|
url: '/documents/' + item.id + '/'
|
||||||
+ item.title + '.' + item.extension,
|
+ item.title.replace('?', '_') + '.' + item.extension,
|
||||||
width: that.width(),
|
width: that.width(),
|
||||||
zoom: 'fit'
|
zoom: 'fit'
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue