aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.js
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2008-02-06 05:18:25 +0000
committerJohn Resig <jeresig@gmail.com>2008-02-06 05:18:25 +0000
commitf43516f20975d3b3fc7910d187af97d7a8c6dc6f (patch)
tree9d15a9f334ff0c8055313286ca0b91745f6ab839 /src/core.js
parente71e4a47f35a4380664b6cc209e482adea6b4b14 (diff)
downloadjquery-f43516f20975d3b3fc7910d187af97d7a8c6dc6f.tar.gz
jquery-f43516f20975d3b3fc7910d187af97d7a8c6dc6f.zip
Landed a fix for bug #2037.
Diffstat (limited to 'src/core.js')
-rw-r--r--src/core.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core.js b/src/core.js
index efc654fb4..aa233f883 100644
--- a/src/core.js
+++ b/src/core.js
@@ -852,9 +852,9 @@ jQuery.extend({
}
// Opera sometimes will give the wrong display answer, this fixes it, see #2037
if ( jQuery.browser.opera && name == "display" ) {
- var save = elem.style.display;
- elem.style.display = "block";
- elem.style.display = save;
+ var save = elem.style.outline;
+ elem.style.outline = "0 solid black";
+ elem.style.outline = save;
}
// Make sure we're using the right name for getting the float value