temporarily fix pdf page calculation in text panel
This commit is contained in:
parent
3c6ab6236f
commit
d044138d43
1 changed files with 1 additions and 2 deletions
|
@ -327,8 +327,7 @@ pandora.ui.textPDF = function(text) {
|
||||||
|
|
||||||
var that = Ox.Element(),
|
var that = Ox.Element(),
|
||||||
$iframe,
|
$iframe,
|
||||||
page = pandora.user.ui.texts[pandora.user.ui.text].position ?
|
page = pandora.user.ui.texts[pandora.user.ui.text].position || 1,
|
||||||
pandora.user.ui.texts[pandora.user.ui.text].position[0] : 1,
|
|
||||||
url = '/texts/' + pandora.user.ui.text + '/text.pdf.html#page=' + page;
|
url = '/texts/' + pandora.user.ui.text + '/text.pdf.html#page=' + page;
|
||||||
if (text.uploaded) {
|
if (text.uploaded) {
|
||||||
$iframe = Ox.Element('<iframe>')
|
$iframe = Ox.Element('<iframe>')
|
||||||
|
|
Loading…
Reference in a new issue