Skip to content

Commit 01852d3

Browse files
committed
removing visualEyeContainer id and using the window or sidebar id directly
1 parent 5adeab4 commit 01852d3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: ide/main/src/content/editor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ Editor.prototype.updateDeveloperTools = function (show) {
719719

720720
//Samit: Enh: Provide a bit of visual assistance
721721
Editor.prototype.updateVisualEye = function (show) {
722-
var container = document.getElementById("visualEyeContainer");
722+
var container = document.getElementById("selenium-ide") || document.getElementById("selenium-ide-sidebar") ;
723723
show ? container.classList.add("visualeye") : container.classList.remove("visualeye");
724724
};
725725

Diff for: ide/main/src/content/selenium-ide-sidebar.xul

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ limitations under the License.
7373
</toolbar>
7474
</toolbox>
7575

76-
<vbox id="visualEyeContainer" flex="1">
76+
<vbox flex="1">
7777
<hbox width="100" persist="height width" flex="1">
7878
<vbox id="suitePane" persist="height width"/>
7979
<splitter id="suiteTreeSplitter" collapse="before" persist="state">

Diff for: ide/main/src/content/selenium-ide.xul

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ limitations under the License.
8787
</toolbar>
8888
</toolbox>
8989

90-
<vbox id="visualEyeContainer" flex="1">
90+
<vbox flex="1">
9191
<hbox id="mainhbox" width="150" persist="height width" flex="1">
9292
<vbox id="suitePane" persist="height width" />
9393
<splitter id="suiteTreeSplitter" collapse="before" persist="state">

0 commit comments

Comments
 (0)