app/assets/javascripts/teabag-jasmine.js in teabag-0.4.3 vs app/assets/javascripts/teabag-jasmine.js in teabag-0.4.4
- old
+ new
@@ -2985,15 +2985,18 @@
this.readConfig();
HTML.__super__.constructor.apply(this, arguments);
}
HTML.prototype.build = function() {
+ var _ref;
this.buildLayout();
this.el = this.findEl("report-all");
this.setText("env-info", this.envInfo());
this.setText("version", Teabag.version);
this.findEl("toggles").onclick = this.toggleConfig;
- this.findEl("suite-select").onchange = this.changeSuite;
+ if ((_ref = this.findEl("suite-select")) != null) {
+ _ref.onchange = this.changeSuite;
+ }
this.showConfiguration();
return this.buildProgress();
};
HTML.prototype.buildLayout = function() {