Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Belgian Biodiversity Platform
yeti
Commits
8a0f7dd1
Commit
8a0f7dd1
authored
Apr 04, 2012
by
Julien Cigar
Browse files
fix type
parent
137b92ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
core.js
View file @
8a0f7dd1
...
...
@@ -443,8 +443,7 @@
*/
Yeti
.
DOM
.
getWindowSize
=
function
()
{
return
typeof
(
window
.
innerHeight
)
==
'
number
'
?
{
return
typeof
(
window
.
innerHeight
)
==
'
number
'
?
{
height
:
window
.
innerHeight
,
width
:
window
.
innerWidth
}
:
document
.
body
&&
document
.
body
.
clientHeight
?
{
...
...
@@ -454,7 +453,7 @@
document
.
documentElement
.
clientHeight
?
{
height
:
document
.
documentElement
.
clientHeight
,
width
:
document
.
documentElement
.
clientWidth
}
:
undefined
;
}
:
undefined
}
...
...
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