From 75debd77f9ad6f1f210a8a69a8a72c0ee040decd Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 13 Feb 2016 09:13:12 -0500 Subject: [PATCH] Update to the index.* files --- index.html | 2 +- index.js | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index b591a45..d2642df 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ - +

Moonlight

Status: NO-STATUS

diff --git a/index.js b/index.js index d60738d..ea0276a 100644 --- a/index.js +++ b/index.js @@ -2,7 +2,6 @@ function attachListeners() { document.getElementById('startButton').addEventListener('click', startPushed); document.getElementById('stopButton').addEventListener('click', stopPushed); - document.getElementById('GFEHostIPField').addEventListener('change', changeGFEHostIPField); } // Called by the common.js module. @@ -18,17 +17,13 @@ function getGFEHostIPField() { function startPushed() { common.naclModule.postMessage('setGFEHostIPField:' + getGFEHostIPField().value); - common.naclModule.postMessage('startPushed'); + //common.naclModule.postMessage('startPushed'); } function stopPushed() { common.naclModule.postMessage('stopPushed'); } -function changeGFEHostIPField() { - common.naclModule.postMessage('setGFEHostIPField:' + getGFEHostIPField().value); -} - // Called by the common.js module. function handleMessage(msg) { var logEl = document.getElementById('GFEHostIPField');