diff --git a/jappixmini/jappixmini.php b/jappixmini/jappixmini.php
index 93689a1e..6840c1d9 100644
--- a/jappixmini/jappixmini.php
+++ b/jappixmini/jappixmini.php
@@ -260,11 +260,7 @@ function jappixmini_settings(&$a, &$s) {
if (!$activate) {
// load scripts if not yet activated so that password can be saved
$a->page['htmlhead'] .= ''."\r\n";
- $a->page['htmlhead'] .= ''."\r\n";
-
- $a->page['htmlhead'] .= ''."\r\n";
- $a->page['htmlhead'] .= ''."\r\n";
- $a->page['htmlhead'] .= ''."\r\n";
+ $a->page['htmlhead'] .= ''."\r\n";
$a->page['htmlhead'] .= ''."\r\n";
}
@@ -410,11 +406,7 @@ function jappixmini_script(&$a,&$s) {
if (!$activate) return;
$a->page['htmlhead'] .= ''."\r\n";
- $a->page['htmlhead'] .= ''."\r\n";
-
- $a->page['htmlhead'] .= ''."\r\n";
- $a->page['htmlhead'] .= ''."\r\n";
- $a->page['htmlhead'] .= ''."\r\n";
+ $a->page['htmlhead'] .= ''."\r\n";
$a->page['htmlhead'] .= ''."\r\n";
@@ -486,11 +478,8 @@ function jappixmini_login(&$a, &$o) {
if (!file_exists("addon/jappixmini/jappix")) return;
- // for setDB, needed by jappixmini_addon_set_client_secret
- $a->page['htmlhead'] .= ''."\r\n";
-
- // for str_sha1, needed by jappixmini_addon_set_client_secret
- $a->page['htmlhead'] .= ''."\r\n";
+ // for setDB and str_sha1, needed by jappixmini_addon_set_client_secret
+ $a->page['htmlhead'] .= ''."\r\n";
// for jappixmini_addon_set_client_secret
$a->page['htmlhead'] .= ''."\r\n";