mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-29 09:20:03 +02:00
real teardown
This commit is contained in:
parent
ad764c62eb
commit
56c6da35d2
2 changed files with 6 additions and 3 deletions
|
@ -8744,7 +8744,8 @@ var ModalView = Backbone.View.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
tearDown: function() {
|
tearDown: function() {
|
||||||
this.hide();
|
this.$el.html('');
|
||||||
|
$('body')[0].removeChild(this.el);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -17161,7 +17162,8 @@ var ModalView = Backbone.View.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
tearDown: function() {
|
tearDown: function() {
|
||||||
this.hide();
|
this.$el.html('');
|
||||||
|
$('body')[0].removeChild(this.el);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -148,7 +148,8 @@ var ModalView = Backbone.View.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
tearDown: function() {
|
tearDown: function() {
|
||||||
this.hide();
|
this.$el.html('');
|
||||||
|
$('body')[0].removeChild(this.el);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue