(16.05.2017, 10:40)admin Wrote: You're missing event argument in function, it should be .on('vclick', function(event){. You can also replace "on" with "one", so you don't even need to call "off".
The problem was the function which was in the for loop because of the "}" in the wrong place. But thanks for help Now I know about .one() function also