diff options
author | Michael Leibman <michael.leibman@gmail.com> | 2011-03-23 10:11:54 -0700 |
---|---|---|
committer | Michael Leibman <michael.leibman@gmail.com> | 2011-03-23 10:11:54 -0700 |
commit | 0ed544b6aeab8e85e78f19c0702c69d5e9ccb869 (patch) | |
tree | b8b2feae84c0b7470a0dca211b2e4717e859bb57 /slick.grid.js | |
parent | ae1747525495b18549bc0a3ec209d453132299cf (diff) | |
download | SlickGrid-0ed544b6aeab8e85e78f19c0702c69d5e9ccb869.zip SlickGrid-0ed544b6aeab8e85e78f19c0702c69d5e9ccb869.tar.gz SlickGrid-0ed544b6aeab8e85e78f19c0702c69d5e9ccb869.tar.bz2 |
Start max supported CSS height at 1M pixels.
This fixes occasional Chrome errors and zoom issues.
Diffstat (limited to 'slick.grid.js')
-rw-r--r-- | slick.grid.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slick.grid.js b/slick.grid.js index 552ae37..e91ec0a 100644 --- a/slick.grid.js +++ b/slick.grid.js @@ -355,7 +355,7 @@ if (typeof Slick === "undefined") { function getMaxSupportedCssHeight() { var increment = 1000000; - var supportedHeight = 0; + var supportedHeight = increment; // FF reports the height back but still renders blank after ~6M px var testUpTo = ($.browser.mozilla) ? 5000000 : 1000000000; var div = $("<div style='display:none' />").appendTo(document.body); |