#11487 closed bug (duplicate)
Some effects (like fadeOut) don't work on sites using a strict Content Security Policy (CSP)
Reported by: | trhaynes | Owned by: | trhaynes |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | effects | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
It looks like fadeOut() works by setting a temporary inline style. This doesn't work when CSP [1] disallows inline styles.
I suggest modifying the DOM directly instead (something like element.style.opacity = 0.5).
Change History (3)
comment:1 Changed 11 years ago by
Component: | unfiled → effects |
---|---|
Owner: | set to trhaynes |
Priority: | undecided → low |
Status: | new → pending |
comment:2 Changed 11 years ago by
Resolution: | → duplicate |
---|---|
Status: | pending → closed |
Note: See
TracTickets for help on using
tickets.
Thanks for submitting a ticket to the jQuery bug tracker. Please provide us with a test case reproducing the issue you've described, ideally on http://jsfiddle.net. Please also ensure you've tested using the latest version of jQuery (jQuery Git/edge).