Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
x50-avatar
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
229a3523
authored
May 19, 2020
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
2befeaf5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
Public/static/js/common.js
+8
-2
No files found.
Public/static/js/common.js
View file @
229a3523
...
...
@@ -49,8 +49,14 @@ preloadimages(preloadImageList, function () {
},
function
(
progress
)
{});
// const originalHeight = document.documentElement.clientHeight || document.body.clientHeight;
var
canvas
=
false
,
ctx
=
false
,
imgInfo
=
false
,
oldpoz
=
false
,
inited
=
false
,
firstSwiper
,
images
=
[],
custom
=
false
,
uploadedImg
=
false
;
$
(
document
).
ready
(
function
()
{
$
(
'.container'
).
css
(
'height'
,
document
.
documentElement
.
clientHeight
+
'px'
);
var
fixHeight
=
(
$
(
'.page'
).
height
()
-
document
.
documentElement
.
clientHeight
)
/
2
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment