mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 16:46:31 +00:00
fixed issue causing invisible nacl module
This commit is contained in:
parent
47ddac280a
commit
1f8549fbeb
@ -4,10 +4,10 @@
|
|||||||
<meta http-equiv="Pragma" content="no-cache">
|
<meta http-equiv="Pragma" content="no-cache">
|
||||||
<meta http-equiv="Expires" content="-1">
|
<meta http-equiv="Expires" content="-1">
|
||||||
<title>Moonlight</title>
|
<title>Moonlight</title>
|
||||||
<script src="common.js"></script>
|
<script type="text/javascript" src="index.js"></script>
|
||||||
<script src="index.js"></script>
|
<script type="text/javascript" src="common.js"></script>
|
||||||
</head>
|
</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>
|
<h1>Moonlight</h1>
|
||||||
<h2>Status: <code id="statusField">NO-STATUS</code></h2>
|
<h2>Status: <code id="statusField">NO-STATUS</code></h2>
|
||||||
|
9
index.js
9
index.js
@ -4,13 +4,6 @@ function attachListeners() {
|
|||||||
document.getElementById('stopButton').addEventListener('click', stopPushed);
|
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() {
|
function getGFEHostIPField() {
|
||||||
return document.getElementById('GFEHostIPField');
|
return document.getElementById('GFEHostIPField');
|
||||||
}
|
}
|
||||||
@ -30,4 +23,4 @@ function handleMessage(msg) {
|
|||||||
logEl.value = msg.data;
|
logEl.value = msg.data;
|
||||||
}
|
}
|
||||||
|
|
||||||
chrome.app.window.current().fullscreen();
|
// chrome.app.window.current().fullscreen();
|
Loading…
x
Reference in New Issue
Block a user