iFrame Removed
This commit is contained in:
1 parent
d230582628
commit
d71a008c9f
2 files changed
+1
-15
No files matched your search
@@ -48,10 +48,7 @@ function newSuperalgosDocSpace() {
|
||||
}
|
||||
|
||||
function onOpening() {
|
||||
let docIFrame = document.getElementById('docIFrame')
|
||||
if (docIFrame.src === "") {
|
||||
docIFrame.src = UI.projects.superalgos.globals.docs.DOCUMENTATION_URL_DEFAULT
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function onClosing() {
|
||||
@@ -59,8 +56,6 @@ function newSuperalgosDocSpace() {
|
||||
}
|
||||
|
||||
function navigateTo(url) {
|
||||
let docIFrame = document.getElementById('docIFrame')
|
||||
docIFrame.src = url
|
||||
thisObject.sidePanelTab.open()
|
||||
}
|
||||
|
||||
@@ -91,7 +86,6 @@ function newSuperalgosDocSpace() {
|
||||
function physics() {
|
||||
thisObject.sidePanelTab.physics()
|
||||
docAppDivPhysics()
|
||||
iFramePhysics()
|
||||
|
||||
function docAppDivPhysics() {
|
||||
let docAppDiv = document.getElementById('docApp')
|
||||
@@ -106,13 +100,6 @@ function newSuperalgosDocSpace() {
|
||||
'width: ' + thisObject.container.frame.width + 'px;' +
|
||||
'height: ' + thisObject.container.frame.height + 'px'
|
||||
}
|
||||
|
||||
function iFramePhysics() {
|
||||
let docIFrame = document.getElementById('docIFrame')
|
||||
docIFrame.style = ' ' +
|
||||
'width: ' + thisObject.container.frame.width + 'px;' +
|
||||
'height: ' + thisObject.container.frame.height + 'px'
|
||||
}
|
||||
}
|
||||
|
||||
function draw() {
|
||||
|
||||
Reference in new issue
Block a user