Sha256: 3a40e9e5c4ac07fe048cd393573e92b909be3d840a39e6dc1d25cb4bf1e5ed11
Contents?: true
Size: 486 Bytes
Versions: 40
Compression:
Stored size: 486 Bytes
Contents
// Author: Ray-Eldath // refer to: // - https://github.com/theme-next/hexo-theme-next/blob/master/source/js/src/utils.js class utils { static getContentVisibilityHeight() { var docHeight = $('.visible').height(), winHeight = $(window).height(), contentVisibilityHeight = (docHeight > winHeight) ? (docHeight - winHeight) : ($(document).height() - winHeight); return contentVisibilityHeight; } static isMobile() { return window.screen.width < 767; } }
Version data entries
40 entries across 40 versions & 2 rubygems