Skip to content

Commit

Permalink
removing visualEyeContainer id and using the window or sidebar id dir…
Browse files Browse the repository at this point in the history
…ectly
  • Loading branch information
samitbadle committed Sep 24, 2014
1 parent 5adeab4 commit 01852d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ide/main/src/content/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ Editor.prototype.updateDeveloperTools = function (show) {

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

Expand Down
2 changes: 1 addition & 1 deletion ide/main/src/content/selenium-ide-sidebar.xul
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ limitations under the License.
</toolbar>
</toolbox>

<vbox id="visualEyeContainer" flex="1">
<vbox flex="1">
<hbox width="100" persist="height width" flex="1">
<vbox id="suitePane" persist="height width"/>
<splitter id="suiteTreeSplitter" collapse="before" persist="state">
Expand Down
2 changes: 1 addition & 1 deletion ide/main/src/content/selenium-ide.xul
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ limitations under the License.
</toolbar>
</toolbox>

<vbox id="visualEyeContainer" flex="1">
<vbox flex="1">
<hbox id="mainhbox" width="150" persist="height width" flex="1">
<vbox id="suitePane" persist="height width" />
<splitter id="suiteTreeSplitter" collapse="before" persist="state">
Expand Down

0 comments on commit 01852d3

Please sign in to comment.