app_js/glightbox/src/js/glightbox.js
/**
 * Return screen size
 * return the current screen dimensions
 *
 * @returns {object}
 */
Return screen size
return the current screen dimensions

@returns {object}
Return screen size return the current screen dimensions @returns { object }
function windowSize() {
    return {
        width: window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth,
        height: window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight,
    }
}
function windowSize ( ) { return { width : window . innerWidth || document . documentElement . clientWidth || document . body . clientWidth , height : window . innerHeight || document . documentElement . clientHeight || document . body . clientHeight , } }
Return screen size
 return the current screen dimensions
Return screen size return the current screen dimensions