jQuery.footHovzer: Fix scrolling issues
authorgladoscc <admin@glados.cc>
Fri, 2 Jan 2015 16:02:48 +0000 (03:02 +1100)
committergladoscc <admin@glados.cc>
Fri, 2 Jan 2015 17:43:35 +0000 (04:43 +1100)
commit051edd4d7f2663b0ee1afc1954b2e5bf3b5f1505
treeadbf0705977b8a4922a3f4d0dd3439b42b148107
parente4701c646cffd5b5e8d7363cde9d04d1456a80f7
jQuery.footHovzer: Fix scrolling issues

Fix scrollbar appearing if the page does not fill the screen, and the
debug toolbar is enabled.

This patch also fixes an issue where the page will have a height of
~1000px if the CSS is loaded after the JS executes (display:none
isn't triggered before the outerHeight() calculation). I've only been
able to fix this by adding a setTimeout, which is a little bit hacky..
but can't figure out how to solve it any other way.

Bug: T38273
Change-Id: I1f92cb0681b7a82a5936267c120f85481a95a962
resources/src/jquery/jquery.footHovzer.js