src/grootify.js
//Removed broken image from lstImgs, run handleImg on item
Removed broken image from lstImgs, run handleImg on item
Removed broken image from lstImgs run handleImg on item
handleBrokenImg(item, lstImgs) {
        var brokenImg = $(item).attr("src");
        var index = lstImgs.indexOf(brokenImg);
        if (index > -1) {
          lstImgs.splice(index, 1);
        }
        self.setRandomImg(item, lstImgs);
      }
handleBrokenImg ( item , lstImgs ) { var brokenImg = $ ( item ) . attr ( "src" ) ; var index = lstImgs . indexOf ( brokenImg ) ; if ( index > - 1 ) { lstImgs . splice ( index , 1 ) ; } self . setRandomImg ( item , lstImgs ) ; }
Removed broken image from lstImgs, run handleImg on item
Removed broken image from lstImgs run handleImg on item