mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Oops: Forgot debugging information in scrolling handlers
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user