logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git

window_utils.js (258B)


  1. export const windowWidth = () =>
  2. window.innerWidth ||
  3. document.documentElement.clientWidth ||
  4. document.body.clientWidth
  5. export const windowHeight = () =>
  6. window.innerHeight ||
  7. document.documentElement.clientHeight ||
  8. document.body.clientHeight