Metis.prototype.getViewportHeight = function()

in ui/js/core.js [22:29]


    Metis.prototype.getViewportHeight = function () {

        var docElement = document.documentElement,
            client = docElement.clientHeight,
            inner = window.innerHeight;

        if (client < inner) return inner;else return client;
    };