Metis.prototype.getViewportWidth = function()

in ui/js/core.js [31:38]


    Metis.prototype.getViewportWidth = function () {

        var docElement = document.documentElement,
            client = docElement.clientWidth,
            inner = window.innerWidth;

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