mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fixing errors messags in js
This commit is contained in:
parent
3ff3d0ccf1
commit
45739a2e5f
@ -118,8 +118,10 @@ function clearObfuscators() {
|
||||
function initParser(input, output) {
|
||||
clearObfuscators();
|
||||
var input = document.getElementById(input),
|
||||
output = document.getElementById(output),
|
||||
parsed = parseStyle( input.innerHTML );
|
||||
output.innerHTML = '';
|
||||
output.appendChild(parsed);
|
||||
output = document.getElementById(output);
|
||||
if (input != null && output != null) {
|
||||
var parsed = parseStyle( input.innerHTML );
|
||||
output.innerHTML = '';
|
||||
output.appendChild(parsed);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user