fix adding of multiple favicons or logos

This commit is contained in:
Uwe Steinmann 2021-08-06 08:58:03 +02:00
parent bb77e2d62d
commit 0cf8e7cac5

View File

@ -148,7 +148,10 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
} /* }}} */
function htmlAddHeader($head, $type='js') { /* {{{ */
$this->extraheader[$type] .= $head;
if($type == 'logo' || $type == 'favicon')
$this->extraheader[$type] = $head;
else
$this->extraheader[$type] .= $head;
} /* }}} */
function htmlAddJsHeader($script) { /* {{{ */