79139345

Date: 2024-10-30 00:33:16
Score: 0.5
Natty:
Report link

Using setTimeout to get window height after rendering completed, $(window).height(), and document.documentElement.clientHeight all return the same inconsistent results (835px after the window is initiated and 818px after it's been maximized/restored to the original size).

window.innerHeight consistently returned 835px so that was my solution.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Sam WB