minor enhancement to opacity cssHooks
|Reported by:||lrbabe||Owned by:||jitter|
Why are we doing
var filter = style.filter || ""; style.filter = style.filter + ' ' + opacity;
When we could do
var filter = style.filter || ""; // reuse the 'filter' var style.filter = filter + ' ' + opacity;
Improve jQuery, one DOM access at a time.
The actual code is slightly longer, but the modification is equally tiny, see following push request.
Change History (3)
comment:2 Changed 6 years ago by jitter
- Component changed from unfiled to css
- Owner set to jitter
- Priority changed from undecided to low
- Status changed from new to assigned