5 lines
133 B
JavaScript
5 lines
133 B
JavaScript
|
|
function getViewPortHeight() {
|
|
var h = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);
|
|
return h;
|
|
} |