JSFiddle - React, Tailwind, and code Playground

HTML

<html>
    <head>
        <title>Test Case for Bug #8619</title>
    </head>
    <body>
        <img src="http://www.example.com/error_no_image.png">
        <img src="http://www.example.com/another_error.jpg">
        <img src="http://static.ak.fbcdn.net/rsrc.php/v1/zx/r/Pvubnmvx_0f.png">
    </body>
</html>

JavaScript

$("img").error(function(e) {
    $(this).hide();
});