Manual calling does not seem to work.
Bitneko opened this issue · 3 comments
Bitneko commented
Without assign 'grayscale' class to a image, manually calling the plugin with $('.my-class').gray()
does nothing.
karlhorky commented
Please provide a demo on JSFiddle or something where this fails.
Bitneko commented
http://jsfiddle.net/8jgy64t9/2/
I expect the line $('.my-image').gray();
to turn the first image to grayscale but that didn't work. Adding the 'grayscale' class is the only way to grayscale the image as demonstrated in the second image.