mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 03:43:15 +08:00
OOPS! Robin self-flaggelated.
This commit is contained in:
parent
f08e9d8822
commit
06e5615088
|
@ -69,6 +69,8 @@ Discourse.TopicView = Discourse.View.extend(Discourse.Scrolling, {
|
||||||
|
|
||||||
didInsertElement: function(e) {
|
didInsertElement: function(e) {
|
||||||
this.bindScrolling({debounce: 0});
|
this.bindScrolling({debounce: 0});
|
||||||
|
|
||||||
|
var topicView = this;
|
||||||
$(window).bind('resize.discourse-on-scroll', function() { topicView.updatePosition(); });
|
$(window).bind('resize.discourse-on-scroll', function() { topicView.updatePosition(); });
|
||||||
|
|
||||||
this.$().on('mouseup.discourse-redirect', '.cooked a, a.track-link', function(e) {
|
this.$().on('mouseup.discourse-redirect', '.cooked a, a.track-link', function(e) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user