From d71a008c9f77dac0888cfae7fd1a1f9e8ee1022b Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 7 Dec 2020 19:41:15 +0100 Subject: [PATCH] iFrame Removed --- Client/WebServer/index.html | 1 - .../Superalgos/UI/Spaces/Doc-Space/DocSpace.js | 15 +-------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/Client/WebServer/index.html b/Client/WebServer/index.html index 4b50bb269..7cbd62fb9 100644 --- a/Client/WebServer/index.html +++ b/Client/WebServer/index.html @@ -60,7 +60,6 @@
-
diff --git a/Projects/Superalgos/UI/Spaces/Doc-Space/DocSpace.js b/Projects/Superalgos/UI/Spaces/Doc-Space/DocSpace.js index 2ac097b16..e5d5cd9af 100644 --- a/Projects/Superalgos/UI/Spaces/Doc-Space/DocSpace.js +++ b/Projects/Superalgos/UI/Spaces/Doc-Space/DocSpace.js @@ -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() {