Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
pdf-customizer
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
eebb4620
authored
2016-07-21 11:17:59 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
3
1 parent
1c92ac8b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
public/files/js/interfaceGdrive.js
public/files/js/interfaceGdrive.js
View file @
eebb462
...
...
@@ -235,6 +235,7 @@ function changePdfOptions(json, edit) {
var
windowHBG
=
0.923
*
$
(
window
).
height
();
if
(
json
[
0
].
pwidth
>
json
[
0
].
pheight
){
console
.
log
(
'wide'
)
var
scaleImage
=
windowWidth
/
json
[
0
].
pwidth
;
var
imageHeight
=
json
[
0
].
pheight
*
scaleImage
;
var
imageWidth
=
windowWidth
;
...
...
Please
register
or
sign in
to post a comment