mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 08:48:18 -05:00
bubble: Stop appending to parent element when hidden.
This avoids unintentional styling of bubble content within the parent element when it is supposed to be hidden.
This commit is contained in:
@@ -161,7 +161,6 @@ r.multi.SubscribeButton = Backbone.View.extend({
|
||||
group: this.options.bubbleGroup,
|
||||
sr_name: this.$el.data('sr_name')
|
||||
})
|
||||
this.$el.append(this.bubble.el)
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@@ -229,7 +229,6 @@ r.ui.Bubble = Backbone.View.extend({
|
||||
this.options.group.current = null
|
||||
}
|
||||
this.$el.hide()
|
||||
this.$parent.append(this.$el)
|
||||
},
|
||||
|
||||
hide: function(callback) {
|
||||
|
||||
Reference in New Issue
Block a user