remove global id

This commit is contained in:
copy 2014-07-22 20:21:48 +02:00
parent 6549dd8e58
commit d54e307a61
2 changed files with 5 additions and 8 deletions

View file

@ -130,9 +130,12 @@ function ScreenAdapter(screen_container)
graphic_context["mozImageSmoothingEnabled"] = false;
graphic_context["webkitImageSmoothingEnabled"] = false;
cursor_element.id = "cursor";
text_screen.style.display = "block";
cursor_element.style.position = "absolute";
cursor_element.style.backgroundColor = "#ccc";
cursor_element.style.width = "7px";
cursor_element.style.display = "inline-block";
text_screen.style.display = "block";
graphic_screen.style.display = "none";
this.init = function()

View file

@ -47,12 +47,6 @@
#screen > div > span {
height: 15px;
}
#cursor {
position: absolute;
background-color: #ccc;
width: 7px;
display: inline-block;
}
body {
background-color: #111;
color: #fff;