Commit 8a0f7dd1 authored by Julien Cigar's avatar Julien Cigar
Browse files

fix type

parent 137b92ac
......@@ -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
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment