You have to supply the canvas object as a parameter to the push
function to add it to the array.

canvasClasses.push($(this));

Reply via email to