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:
Max Goodman
2013-04-12 14:41:07 -07:00
parent 490d981adc
commit bb5a6f1100
2 changed files with 0 additions and 2 deletions

View File

@@ -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)
}
})

View File

@@ -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) {