jQuery: The Write Less, Do More JavaScript Library
Download
Documentation
Plugins
Tutorials
Discuss
Blog
Login
About Trac
Preferences
Help/Guide
Register
Wiki
Roadmap
Browse Source
View Tickets
Search
Timeline
Ticket #2037
: opera-performance-fix.diff
File opera-performance-fix.diff,
0.6 kB
(added by Junyor,
6 months
ago)
Alternative fix
src/core.js
852
852
}
853
853
// Opera sometimes will give the wrong display answer, this fixes it, see #2037
854
854
if ( jQuery.browser.opera && name == "display" ) {
855
var
save = elem.style.display
;
856
elem.style.
display = "block"
;
857
elem.style.
display = save
;
855
var
tmp = elem.style.outline
;
856
elem.style.
outline = '0 solid black'
;
857
elem.style.
outline = tmp
;
858
858
}
859
859
860
860
// Make sure we're using the right name for getting the float value
Download in other formats:
Original Format