aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emcclib.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/emcclib.js b/emcclib.js
index 00f718e..07f5f40 100644
--- a/emcclib.js
+++ b/emcclib.js
@@ -521,8 +521,6 @@ mergeInto(LibraryManager.library, {
var statusholder = document.getElementById("statusbarholder");
statusbar = document.createElement("div");
statusbar.id = "statusbar";
- statusbar.style.width = (onscreen_canvas.width - 4) + "px";
- statusholder.style.width = onscreen_canvas.width + "px";
statusbar.appendChild(document.createTextNode(" "));
statusholder.appendChild(statusbar);
},
@@ -548,10 +546,6 @@ mergeInto(LibraryManager.library, {
js_canvas_set_size: function(w, h) {
onscreen_canvas.width = w;
offscreen_canvas.width = w;
- if (statusbar !== null) {
- statusbar.style.width = (w - 4) + "px";
- document.getElementById("statusbarholder").style.width = w + "px";
- }
resizable_div.style.width = w + "px";
onscreen_canvas.height = h;