Fix #500
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
<a id='toggle' class='edit' href='javascript:void(0)' onclick='jsm.toggleLeftRight();'><img src='images/lr_24.png' alt='Toggle left to right' title='Toggle left to right'></a>
|
<a id='toggle' class='edit' href='javascript:void(0)' onclick='jsm.toggleLeftRight();'><img src='images/lr_24.png' alt='Toggle left to right' title='Toggle left to right'></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='editor_bg'></div>
|
<div id='editor_bg' class='editor_bg'></div>
|
||||||
<div class='toolpanel_bg'></div>
|
<div class='toolpanel_bg'></div>
|
||||||
|
|
||||||
<div id='commenttoolpanel' class='toolpanel edit' style='width: 500px; right: 0px; '>
|
<div id='commenttoolpanel' class='toolpanel edit' style='width: 500px; right: 0px; '>
|
||||||
|
|||||||
@@ -465,6 +465,11 @@ var applyTimeout = function () {
|
|||||||
|
|
||||||
win.jsm.resize = resize;
|
win.jsm.resize = resize;
|
||||||
|
|
||||||
|
// remove editor_bg after loading because
|
||||||
|
// it'll cause problems if toggle left right is used
|
||||||
|
var ebg = doc.getElementById('editor_bg');
|
||||||
|
ebg.parentNode.removeChild(ebg);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Resize can be called an absurd amount of times
|
Resize can be called an absurd amount of times
|
||||||
and will crash the page without debouncing.
|
and will crash the page without debouncing.
|
||||||
|
|||||||
Reference in New Issue
Block a user