try to fix favicon bug
parent
589b0087a1
commit
fd3cd73d0b
|
@ -3,7 +3,12 @@
|
|||
<head>
|
||||
<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
|
||||
<script data-main="main" src="/bower_components/requirejs/require.js"></script>
|
||||
<link rel="icon" type="image/png" href="/customize/favicon.png" data-alt-favicon="/customize/alt-favicon.png" id="favicon" />
|
||||
<link rel="icon" type="image/png"
|
||||
href="/customize/favicon.png"
|
||||
|
||||
data-main-favicon="/customize/favicon.png"
|
||||
data-alt-favicon="/customize/alt-favicon.png"
|
||||
id="favicon" />
|
||||
<style>
|
||||
#pad-iframe {
|
||||
position:fixed;
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
|
||||
var favicon = document.getElementById('favicon');
|
||||
if (favicon) {
|
||||
var main = favicon.getAttribute('href');
|
||||
var main = favicon.getAttribute('data-main-favicon');
|
||||
var alt = favicon.getAttribute('data-alt-favicon');
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
|
||||
<link rel="icon" type="image/png" href="/customize/favicon.png" data-alt-favicon="/customize/alt-favicon.png" id="favicon" />
|
||||
<link rel="icon" type="image/png"
|
||||
href="/customize/favicon.png"
|
||||
data-main-favicon="/customize/favicon.png"
|
||||
data-alt-favicon="/customize/alt-favicon.png"
|
||||
id="favicon" />
|
||||
<script data-main="main" src="/bower_components/requirejs/require.js"></script>
|
||||
<style>
|
||||
html, body {
|
||||
|
|
Loading…
Reference in New Issue