Update index-open.html

This commit is contained in:
Innovation Inc 2019-12-13 17:53:25 -06:00 committed by GitHub
parent 19b0033571
commit 26f7e7b5ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,7 +112,7 @@
$('#' + app).css('z-index', 9999);
}
function openApplication(app) {
var newElement="<div onclick=\"moveToFront('" + app + "')\" id='" + app + "' class='framewrap'><input type='button' onclick=\"closeApplication('" + app + ")' value='X' /><iframe class='appFrame' src='apps/" + app + "/'></iframe></div>";
var newElement="<div onclick=\"moveToFront('" + app + "')\" id='" + app + "' class='framewrap'><input type='button' onclick=\"closeApplication('" + app + "')\" value='X' /><iframe class='appFrame' src='apps/" + app + "/'></iframe></div>";
var parent=document.getElementById('appContainer');
parent.innerHTML+=newElement;
moveToFront(app);