method called on null $backdrop reference
Created by: wesreid
With options { backdrop: false }, this.$backdrop.remove() is still being called which results in an exception as this.$backdrop is null.
hideModal: function () {
var that = this
this.$element.hide()
this.backdrop(function () {
that.removeBackdrop()
that.$element.trigger('hidden')
})
}
removeBackdrop: function () {
this.$backdrop.remove()
this.$backdrop = null
}