From 18c1b16ce86e5f9e47d9ba8a83299dec4dd6e85b Mon Sep 17 00:00:00 2001 From: Eric Fredricksen Date: Sat, 10 Jul 2010 11:21:35 -0700 Subject: [PATCH] Fix initialization bug that IE caught --- main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 96596fc..3cc3cc8 100644 --- a/main.js +++ b/main.js @@ -987,7 +987,8 @@ function FormCreate() { AllBars = [ExpBar,PlotBar,TaskBar,QuestBar,EncumBar]; - $.each(AllBars, function (i,bar) { bar.reposition(0); }); + // TODO: probably get rid of this line + $.each(AllBars, function (i,bar) { bar.reset(1); }); Traits = new ListBox("Traits", 2, true); Stats = new ListBox("Stats", 2, true);