mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-20 20:11:19 -04:00
Oops: Forgot debugging information in scrolling handlers
This commit is contained in:
parent
a8b5716421
commit
d78898443d
1 changed files with 0 additions and 2 deletions
|
@ -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 a new issue