Make sure setting opacity does not clobber other inline filters. Fixes #7101.

This commit is contained in:
Colin Snover 2010-09-30 11:24:59 -07:00 committed by John Resig
parent cb811c04b0
commit 06c505d851
2 changed files with 7 additions and 4 deletions

View file

@ -204,7 +204,7 @@ if ( !jQuery.support.opacity ) {
style.filter = ralpha.test(filter) ?
filter.replace(ralpha, opacity) :
opacity;
style.filter + ' ' + opacity;
}
};
}