fixed issue causing invisible nacl module

This commit is contained in:
Aidan Campbell 2016-02-13 12:11:20 -05:00
parent 47ddac280a
commit 1f8549fbeb
2 changed files with 4 additions and 11 deletions

View File

@ -4,10 +4,10 @@
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
<title>Moonlight</title>
<script src="common.js"></script>
<script src="index.js"></script>
<script type="text/javascript" src="index.js"></script>
<script type="text/javascript" src="common.js"></script>
</head>
<body data-name="moonlight-chrome" data-width="500" data-height="500" data-tools="pnacl" data-configs="Debug Release" data-path="{tc}/{config}">
<body data-name="moonlight-chrome" data-width="500" data-height="500" style="height: 0px;" data-tools="pnacl" data-configs="Debug Release" data-path="{tc}/{config}">
<h1>Moonlight</h1>
<h2>Status: <code id="statusField">NO-STATUS</code></h2>

View File

@ -4,13 +4,6 @@ function attachListeners() {
document.getElementById('stopButton').addEventListener('click', stopPushed);
}
// Called by the common.js module.
function moduleDidLoad() {
// The module is not hidden by default so we can easily see if the plugin
// failed to load.
common.hideModule();
}
function getGFEHostIPField() {
return document.getElementById('GFEHostIPField');
}
@ -30,4 +23,4 @@ function handleMessage(msg) {
logEl.value = msg.data;
}
chrome.app.window.current().fullscreen();
// chrome.app.window.current().fullscreen();