Closed vmkcom closed 11 years ago
"func" is the same function??
Yes, function is the same. Interesting, that bug reproduced only if I use "off" with 2 parameters - event and function. I only can use off with event and remove all functions but this isn't useful. Thanks for reply. I use quojs for ios
I am experiencing this problem... when I call $('.selector').off('swipeLeft', function (ev) { alert('removed'); }); the event is still bound. Am I doing something wrong?
var func = function() {console.log('touchstart')}
$$(window).on('touchstart', func);
after that when i do
$$(window).off('touchstart', func) -> i see "touchstart" at console anyway