@@ -110,18 +110,13 @@ var Dispatcher = function() {
110110
111111 var initialize = function() {
112112 var prog = ElmCode.hasOwnProperty("main") ? ElmCode.main : main;
113− try { program = prog(); } catch (e) {
114− var msg = ("<br><h2>Your browser may not be supported. Are you using a modern browser?</h2>" +
115− "<br><span style=\"grey\">Runtime Error:<br>" + e + "</span>")
116− document.body.innerHTML = Text.monospace(msg);
117− throw e;
118− }
113+ try { program = prog(); } catch (e) { throw e; }
119114 if (!program.hasOwnProperty('recv')) {
120115 program = Elm.Input(program);
121116 }
122117 var content = document.getElementById('content');
123118 content.appendChild(program.value);
124− correctSize(content);
119+ adjust();
125120 var w = document.getElementById('widthChecker').offsetWidth;
126121 if (w !== window.innerWidth) {
127122 Dispatcher.notify(Window.dimensions.id, Value.Tuple(w, window.innerHeight));
@@ -129,13 +124,13 @@ var Dispatcher = function() {
129124 program = Elm.Lift(function(value) {
130125 var content = document.getElementById('content');
131126 content.replaceChild(value, content.children[0]);
132− correctSize(content);
127+ adjust();
133128 return value;
134129 }, [program]);
135130 };
136131 var adjust = function() {
137132 var content = document.getElementById('content');
138− correctSize(content);
133+ correctSize(content.children[0]);
139134 }
140135 var notify = function(id, v) {
141136 timestep += 1;