From f9b553f37993bbcb5aff4cb985fc19dc15100731 Mon Sep 17 00:00:00 2001 From: "Cathy J. Fitzpatrick" Date: Tue, 21 May 2013 16:20:42 -0600 Subject: [PATCH] Fix crash in `statSlide` --- js/client-teambuilder.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/client-teambuilder.js b/js/client-teambuilder.js index 5fcde76f4..ccb0fcec1 100644 --- a/js/client-teambuilder.js +++ b/js/client-teambuilder.js @@ -871,6 +871,7 @@ statSlide: function(val, slider) { var stat = slider.inputNode[0].name.substr(9); var set = this.curSet; + if (!set) return; val = +val; if (!this.ignoreEVLimits && set.evs) {