Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit ab3486c

Browse files
committed
reset shown mods on render
1 parent 6d3be1d commit ab3486c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/views/settingsVw.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ module.exports = Backbone.View.extend({
154154
render: function(){
155155
var self = this;
156156
$('#content').html(self.$el);
157+
this.shownMods = []; //reset to blank
157158

158159
loadTemplate('./js/templates/settings.html', function(loadedTemplate) {
159160
self.$el.html(loadedTemplate(self.model.toJSON()));

0 commit comments

Comments
 (0)