diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/html.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/inc/html.php b/inc/html.php index 0e1364316..435288688 100644 --- a/inc/html.php +++ b/inc/html.php @@ -171,9 +171,8 @@ function html_topbtn(){ global $lang; $ret = ''; - $ret .= '<form class="button" method="get" action="#top" onsubmit="return svchk()">'; - $ret .= '<input type="submit" value="'.htmlspecialchars($lang['btn_top']).'" class="button" />'; - $ret .= '</form>'; + $ret = '<a href="#top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" /></a>'; + return $ret; } |