mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 08:42:44 +08:00
Oops: Forgot debugging information in scrolling handlers
This commit is contained in:
parent
a8b5716421
commit
d78898443d
|
@ -57,13 +57,11 @@ Discourse.Scrolling = Em.Mixin.create({
|
|||
Discourse.ScrollingDOMMethods = {
|
||||
|
||||
bindOnScroll: function(onScrollMethod) {
|
||||
console.log("BOUND");
|
||||
$(document).bind('touchmove.discourse', onScrollMethod);
|
||||
$(window).bind('scroll.discourse', onScrollMethod);
|
||||
},
|
||||
|
||||
unbindOnScroll: function() {
|
||||
console.log("UNBOUND");
|
||||
$(window).unbind('scroll.discourse');
|
||||
$(document).unbind('touchmove.discourse');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user