Repository: incubator-juneau-website
Updated Branches:
  refs/heads/asf-site 3ec66e4ad -> 0681f1f7d


Remove iframe from website.

Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/commit/0681f1f7
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/tree/0681f1f7
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/diff/0681f1f7

Branch: refs/heads/asf-site
Commit: 0681f1f7d93729bfa7748255fe2c7e105673803e
Parents: 3ec66e4
Author: jamesbognar <[email protected]>
Authored: Mon Aug 8 10:29:39 2016 -0400
Committer: jamesbognar <[email protected]>
Committed: Mon Aug 8 10:29:39 2016 -0400

----------------------------------------------------------------------
 content/index.html            | 22 +++++++++-------------
 content/styles/juneau-doc.css |  0
 2 files changed, 9 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/0681f1f7/content/index.html
----------------------------------------------------------------------
diff --git a/content/index.html b/content/index.html
index bee4fb8..93872d5 100644
--- a/content/index.html
+++ b/content/index.html
@@ -64,20 +64,16 @@
                }
                // Load results from IFrame into this document.
                function loadResults(buff) {
-                       try {
-                               var doc = buff.contentDocument || 
buff.contentWindow.document;
-                               var body = doc.body;
-                               var article = 
document.getElementById('article');
-                               var header = document.getElementById('header');
-                               var footer = document.getElementById('footer');
-                               if (body != null) {
-                                       article.innerHTML = body.innerHTML;
-                               }
-                               var availableHeight = window.innerHeight - 
header.clientHeight - footer.clientHeight - 40; 
-                               article.style.minHeight = availableHeight + 
'px';
-                       } catch (e) {
-                               alert(e);
+                       var doc = buff.contentDocument || 
buff.contentWindow.document;
+                       var body = doc.body;
+                       var article = document.getElementById('article');
+                       var header = document.getElementById('header');
+                       var footer = document.getElementById('footer');
+                       if (body != null) {
+                               article.innerHTML = body.innerHTML;
                        }
+                       var availableHeight = window.innerHeight - 
header.clientHeight - footer.clientHeight - 40; 
+                       article.style.minHeight = availableHeight + 'px';
                }
                window.onload = function() {
                        document.getElementById('about').click();   

http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/0681f1f7/content/styles/juneau-doc.css
----------------------------------------------------------------------
diff --git a/content/styles/juneau-doc.css b/content/styles/juneau-doc.css
old mode 100755
new mode 100644

Reply via email to