Commit f43516f2 authored by John Resig's avatar John Resig

Landed a fix for bug #2037.

parent e71e4a47
...@@ -852,9 +852,9 @@ jQuery.extend({ ...@@ -852,9 +852,9 @@ jQuery.extend({
} }
// Opera sometimes will give the wrong display answer, this fixes it, see #2037 // Opera sometimes will give the wrong display answer, this fixes it, see #2037
if ( jQuery.browser.opera && name == "display" ) { if ( jQuery.browser.opera && name == "display" ) {
var save = elem.style.display; var save = elem.style.outline;
elem.style.display = "block"; elem.style.outline = "0 solid black";
elem.style.display = save; elem.style.outline = save;
} }
// Make sure we're using the right name for getting the float value // Make sure we're using the right name for getting the float value
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment