Commit b8c27b8c authored by Joel Martin's avatar Joel Martin

Fix references to $ to be $D.

parent fd4c088f
......@@ -69,7 +69,7 @@
function message(str) {
console.log(str);
var cell = $('messages');
var cell = $D('messages');
cell.innerHTML += str + "\n";
cell.scrollTop = cell.scrollHeight;
}
......@@ -82,17 +82,17 @@
test_state = 'failed';
break;
case 'loaded':
$('startButton').disabled = false;
$D('startButton').disabled = false;
break;
}
if (typeof msg !== 'undefined') {
$('VNC_status').innerHTML = msg;
$D('VNC_status').innerHTML = msg;
}
}
function start() {
$('startButton').value = "Running";
$('startButton').disabled = true;
$D('startButton').value = "Running";
$D('startButton').disabled = true;
iterations = 1;
iteration = 0;
......@@ -112,8 +112,8 @@
iter_time = parseInt(total_time / iterations, 10);
message("Rendering took " + total_time + "ms");
rfb.get_canvas().stop(); // Shut-off event interception
$('startButton').disabled = false;
$('startButton').value = "Start";
$D('startButton').disabled = false;
$D('startButton').value = "Start";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment