Im my popover module the template is loaded view ajax.
function(app) {
var Popover = app.module();
Popover.Views.Default = Backbone.View.extend({
template: "popover/template",
initialize: function(options) {
this.reference = options.reference;
this.render();
},
beforeRender: function() {
this.content = this.$el.find('.popover');
}
});
// Required, return the module for AMD compliance.
return Popover;
});
Renders:
<div>
<div class="popover">content</div>
</div>
While the template just includes
<div class="popover">content</div>
How can I remove the sorrounding div?