Dashboard sipadu mbip
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

12345678
  1. /**
  2. * Get the height of the document
  3. *
  4. * @returns {documentHeight: number}
  5. */
  6. export default function (doc) {
  7. return Math.max(doc.documentElement.offsetHeight || 0, doc.height || 0, doc.body.scrollHeight || 0, doc.body.offsetHeight || 0);
  8. }