We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc8beb8 commit f66c099Copy full SHA for f66c099
1 file changed
client/spa/js/learning-resource/learning-resources.controller.js
@@ -25,9 +25,11 @@ module.exports = Backbone.Controller.extend({
25
},
26
27
getView: function(){
28
- if (!this.view){
29
- var V = View.extend({collection: this.collection});
30
- this.view = new V();
+ // if (this.view) {
+ // this.view.remove();
+ // }
31
+ if (!this.view) {
32
+ this.view = new View({collection: this.collection});
33
}
34
return this.view;
35
0 commit comments