Skip to main content

Bug Tracker

Side navigation

Ticket #3960: maxheight.patch


File maxheight.patch, 0.4 KB (added by emartin24, January 22, 2009 07:11PM UTC)

patch for $.support enhancement

Index: support.js
===================================================================
--- support.js	(revision 6158)
+++ support.js	(working copy)
@@ -51,6 +51,10 @@
 		// (IE uses styleFloat instead of cssFloat)
 		cssFloat: !!a.style.cssFloat,
 
+		// Verify maxHeight property
+		// (IE 6 will be undefined)
+		maxHeight: div.style.maxHeight != undefined,
+
 		// Will be defined later
 		scriptEval: false,
 		noCloneEvent: true,

Download in other formats:

Original Format