Commit 161ed703 by cjt

fix pop-window position on Firefox

parent d0e55181
......@@ -282,11 +282,13 @@ schematic = (function() {
tr = document.createElement('tr');
table.appendChild(tr);
td = document.createElement('td');
td.style.position = 'relative'; // so we can position subwindows
td.style.left = '0';
td.style.top = '0';
tr.appendChild(td);
td.appendChild(this.canvas);
var wrapper = document.createElement('div');
wrapper.style.position = 'relative'; // so we can position subwindows
wrapper.appendChild(this.canvas);
td.appendChild(wrapper);
td = document.createElement('td');
td.style.verticalAlign = 'top';
tr.appendChild(td);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment