Commit b8c27b8c authored by Joel Martin's avatar Joel Martin

Fix references to $ to be $D.

parent fd4c088f
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
function message(str) { function message(str) {
console.log(str); console.log(str);
var cell = $('messages'); var cell = $D('messages');
cell.innerHTML += str + "\n"; cell.innerHTML += str + "\n";
cell.scrollTop = cell.scrollHeight; cell.scrollTop = cell.scrollHeight;
} }
...@@ -82,17 +82,17 @@ ...@@ -82,17 +82,17 @@
test_state = 'failed'; test_state = 'failed';
break; break;
case 'loaded': case 'loaded':
$('startButton').disabled = false; $D('startButton').disabled = false;
break; break;
} }
if (typeof msg !== 'undefined') { if (typeof msg !== 'undefined') {
$('VNC_status').innerHTML = msg; $D('VNC_status').innerHTML = msg;
} }
} }
function start() { function start() {
$('startButton').value = "Running"; $D('startButton').value = "Running";
$('startButton').disabled = true; $D('startButton').disabled = true;
iterations = 1; iterations = 1;
iteration = 0; iteration = 0;
...@@ -112,8 +112,8 @@ ...@@ -112,8 +112,8 @@
iter_time = parseInt(total_time / iterations, 10); iter_time = parseInt(total_time / iterations, 10);
message("Rendering took " + total_time + "ms"); message("Rendering took " + total_time + "ms");
rfb.get_canvas().stop(); // Shut-off event interception rfb.get_canvas().stop(); // Shut-off event interception
$('startButton').disabled = false; $D('startButton').disabled = false;
$('startButton').value = "Start"; $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