mirror of
https://github.com/sigmasternchen/Wish
synced 2025-03-15 15:38:54 +00:00
commit
d700cb4c27
2 changed files with 7 additions and 2 deletions
|
@ -475,7 +475,7 @@ Emulator.Output.getCursor = function() {
|
||||||
}
|
}
|
||||||
Emulator.Output.cursorOff = function() { // fix by Jonas
|
Emulator.Output.cursorOff = function() { // fix by Jonas
|
||||||
if(document.getElementById("cursor") != undefined)
|
if(document.getElementById("cursor") != undefined)
|
||||||
document.getElementById("cursor").remove();
|
document.getElementById("cursor").parentNode.removeChild(document.getElementById("cursor"));
|
||||||
}
|
}
|
||||||
Emulator.Output.cursorOn = function() { // fix by Jonas
|
Emulator.Output.cursorOn = function() { // fix by Jonas
|
||||||
if (Emulator.Output.displayCursor) {
|
if (Emulator.Output.displayCursor) {
|
||||||
|
@ -564,7 +564,11 @@ Emulator.Request = function() {
|
||||||
}
|
}
|
||||||
Emulator.Request.get = function(file, parameter, background, after) {
|
Emulator.Request.get = function(file, parameter, background, after) {
|
||||||
var http = new XMLHttpRequest();
|
var http = new XMLHttpRequest();
|
||||||
http.open("GET", file + "?" + parameter, background);
|
if(parameter){
|
||||||
|
http.open("GET", file + "?" + parameter, background);
|
||||||
|
}else{
|
||||||
|
http.open("GET", file, background);
|
||||||
|
}
|
||||||
if (background) {
|
if (background) {
|
||||||
http.onreadystatechange = function() {
|
http.onreadystatechange = function() {
|
||||||
if (http.readyState == 4) {
|
if (http.readyState == 4) {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<style>
|
<style>
|
||||||
|
|
Loading…
Reference in a new issue