Skip to content

Commit 5c4a9cc

Browse files
committed
Add back the background: none setting to avoid any possible crashes in IE from the support testElement. Fixes #9823.
1 parent 700c16b commit 5c4a9cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/support.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ jQuery.support = (function() {
146146
width: 0,
147147
height: 0,
148148
border: 0,
149-
margin: 0
149+
margin: 0,
150+
background: "none"
150151
};
151152
if ( body ) {
152153
jQuery.extend( testElementStyle, {

0 commit comments

Comments
 (0)