[ad_1]
It appears when running “Fine and convert Missing Images”, its triggering for all images to be regenerated. I tried this in chrome and edge and got the same results. The following javascript always returns zero even when the “convert-missing-images” was clicked . It appears “this” is the ajax call and not the sender.
convert_old_images( $(this).hasClass(‘convert-missing-images’) ? 1 : 0 );
