Jaxel
Guest
Member
I have a function bound to window scrolling:
Code:
How would I go on to unbind this function? I have tried the following, but it unbinds ALL scrolling functions, not just the one
Code:
How to unregister a javascript binding?
free plugins
minecraft paid for free
mcmarket
mc-market
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
Code:
Code:
init: function()
{
XF.on(window, 'scroll', this.scroll.bind(this));
},
scroll: function(e)
{
console.log('scrolling');
},
How would I go on to unbind this function? I have tried the following, but it unbinds ALL scrolling functions, not just the one
this.scroll
function:Code:
XF.off(window, 'scroll');
How to unregister a javascript binding?
free plugins
minecraft paid for free
mcmarket
mc-market
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons