summaryrefslogtreecommitdiffstats
path: root/settings/templates/help.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-01-22 12:15:46 +0100
committerLukas Reschke <lukas@statuscode.ch>2013-01-22 12:15:46 +0100
commit8907bdaf7f6895c3d455b48223db5c56aebe26ac (patch)
treef510478ef09bdb510f5c9bfae7fbf301b187512e /settings/templates/help.php
parentbd5ff297168d37c77fe6707231b178a9af8fefd8 (diff)
downloadnextcloud-server-8907bdaf7f6895c3d455b48223db5c56aebe26ac.tar.gz
nextcloud-server-8907bdaf7f6895c3d455b48223db5c56aebe26ac.zip
Remove uneeded JS
Diffstat (limited to 'settings/templates/help.php')
-rw-r--r--settings/templates/help.php23
1 files changed, 1 insertions, 22 deletions
diff --git a/settings/templates/help.php b/settings/templates/help.php
index 8f51cd87017..7383fdcf56a 100644
--- a/settings/templates/help.php
+++ b/settings/templates/help.php
@@ -11,25 +11,4 @@
<a class="button newquestion" href="http://owncloud.com" target="_blank"><?php echo $l->t( 'Commercial Support' ); ?></a>
</div>
<br /><br />
-<iframe src="<?php echo($_['url']); ?>" width="100%" id="ifm" ></iframe>
-
-
-<script language="JavaScript">
-<!--
-
-function pageY(elem) {
- return elem.offsetParent ? (elem.offsetTop + pageY(elem.offsetParent)) : elem.offsetTop;
-}
-var buffer = 5; //scroll bar buffer
-function resizeIframe() {
- var height = document.documentElement.clientHeight;
- height -= pageY(document.getElementById('ifm'))+ buffer ;
- height = (height < 0) ? 0 : height;
- document.getElementById('ifm').style.height = height + 'px';
-}
-
-document.getElementById('ifm').onload=resizeIframe;
-window.onresize = resizeIframe;
-
-//-->
-</script>
+<iframe src="<?php echo($_['url']); ?>" width="100%" id="ifm" ></iframe> \ No newline at end of file