Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
microduino-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
韩洪虎
microduino-web
Commits
473e2629
Commit
473e2629
authored
May 06, 2019
by
瞿伟康
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
864904a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
+1
-3
common.js
wap/skin/default/js/common.js
+1
-3
No files found.
wap/skin/default/js/common.js
View file @
473e2629
...
@@ -6,13 +6,11 @@ GLOBAL.tap = GLOBAL.isMobile ? "tap" : "click";
...
@@ -6,13 +6,11 @@ GLOBAL.tap = GLOBAL.isMobile ? "tap" : "click";
$
(
function
()
{
$
(
function
()
{
var
header
=
$
(
"#header"
)
var
header
=
$
(
"#header"
)
var
footer
=
$
(
"#footer"
)
var
footerHeight
=
footer
.
height
()
var
headerHeight
=
header
.
height
()
var
headerHeight
=
header
.
height
()
var
wrapProduct
=
$
(
".wrap-fix-product"
)
var
wrapProduct
=
$
(
".wrap-fix-product"
)
var
wrapHeader
=
$
(
".wrap-fix-header"
)
var
wrapHeader
=
$
(
".wrap-fix-header"
)
if
(
wrapHeader
.
size
()
>
0
)
{
if
(
wrapHeader
.
size
()
>
0
)
{
wrapHeader
.
height
(
document
.
documentElement
.
clientHeight
-
wrapHeader
.
offset
().
top
-
footerHeight
)
wrapHeader
.
height
(
document
.
documentElement
.
clientHeight
-
wrapHeader
.
offset
().
top
)
}
}
if
(
wrapProduct
.
size
()
>
0
)
{
if
(
wrapProduct
.
size
()
>
0
)
{
var
wrapProductHeight
=
document
.
documentElement
.
clientHeight
-
wrapProduct
.
offset
().
top
var
wrapProductHeight
=
document
.
documentElement
.
clientHeight
-
wrapProduct
.
offset
().
top
...
...
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