git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e71e4a4
)
Landed a fix for bug #2037.
author
John Resig
<jeresig@gmail.com>
Wed, 6 Feb 2008 05:18:25 +0000
(
05:18
+0000)
committer
John Resig
<jeresig@gmail.com>
Wed, 6 Feb 2008 05:18:25 +0000
(
05:18
+0000)
src/core.js
patch
|
blob
|
history
diff --git
a/src/core.js
b/src/core.js
index
efc654f
..
aa233f8
100644
(file)
--- 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