Commit 137b92ac authored by Julien Cigar's avatar Julien Cigar
Browse files

fix type

parent 4f5a6e49
......@@ -444,7 +444,7 @@
Yeti.DOM.getWindowSize = function() {
return
typeof(window.innerHeight == 'number') ? {
typeof(window.innerHeight) == 'number' ? {
height : window.innerHeight,
width : window.innerWidth
} : document.body && document.body.clientHeight ? {
......
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