Ticket #2037: opera-performance-fix.diff
File opera-performance-fix.diff, 598 bytes (added by , 15 years ago) |
---|
-
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