Merge pull request #5 from bitowl/firefoxfixes

constant size of the cursor even in firefox
This commit is contained in:
overflowerror 2013-07-20 13:06:25 -07:00
commit 7249047beb
2 changed files with 4 additions and 1 deletions

View file

@ -486,7 +486,6 @@ Emulator.Output.cursorOn = function() { // fix by Jonas
att.value = "cursor"; att.value = "cursor";
cursorElement.setAttributeNode(att); cursorElement.setAttributeNode(att);
cursorElement.style.background = "#000"; cursorElement.style.background = "#000";
cursorElement.style.height = "100%";
cursorElement.style.border = "1px solid #fff"; cursorElement.style.border = "1px solid #fff";
Emulator.Output.getCursor().appendChild(cursorElement); Emulator.Output.getCursor().appendChild(cursorElement);
} }

View file

@ -25,6 +25,10 @@
#output { #output {
z-index: 1000; z-index: 1000;
} }
#cursor{
width:8px;
height:18px;
}
</style> </style>
<script src="Emulator.js"></script> <script src="Emulator.js"></script>
<script src="KeyCodes.js"></script> <script src="KeyCodes.js"></script>