Skip to content

Commit

Permalink
Added a comment to disable eslint rule for unsafe assignment to inner…
Browse files Browse the repository at this point in the history
…HTML in reveal_image (elastic#333)
  • Loading branch information
cqliu1 authored and Rashid Khan committed Feb 14, 2018
1 parent 5f515c2 commit 253476a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/render_functions/reveal_image/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const revealImage = () => ({
img.src = config.image;

function finish() {
// eslint-disable-next-line no-unsanitized/property
domNode.innerHTML = container.outerHTML;
handlers.done();
}
Expand Down

0 comments on commit 253476a

Please sign in to comment.