mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
do not leave script nodes in the document
This commit is contained in:
parent
8533b7b611
commit
4fe48943ef
1
node_modules/architect-build/build_support/mini_require.js
generated
vendored
1
node_modules/architect-build/build_support/mini_require.js
generated
vendored
@ -407,6 +407,7 @@ var loadScriptWithTag = function(path, id, callback) {
|
||||
|
||||
s.onload = s.onreadystatechange = function(_, isAbort) {
|
||||
if (isAbort || !s.readyState || s.readyState == "loaded" || s.readyState == "complete") {
|
||||
s.remove && s.remove();
|
||||
s = s.onload = s.onreadystatechange = null;
|
||||
if (!isAbort)
|
||||
callback(null, id);
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "c9",
|
||||
"description": "New Cloud9 Client",
|
||||
"version": "3.1.4070",
|
||||
"version": "3.1.5000",
|
||||
"author": "Ajax.org B.V. <info@ajax.org>",
|
||||
"private": true,
|
||||
"main": "bin/c9",
|
||||
@ -56,4 +56,4 @@
|
||||
"msgpack-js",
|
||||
"c9"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@ -146,8 +146,7 @@ define(function(require, exports, module) {
|
||||
s.async = true;
|
||||
s.src = '//api.usersnap.com/load/' +
|
||||
'e3d3b232-1c21-4961-b73d-fbc8dc7be1c3.js';
|
||||
var x = document.getElementsByTagName('script')[0];
|
||||
x.parentNode.insertBefore(s, x);
|
||||
document.head.appendChild(s);
|
||||
})();
|
||||
|
||||
// Create UI elements
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user