try to fix favicon bug

pull/1/head
ansuz 9 years ago
parent 589b0087a1
commit fd3cd73d0b

@ -3,7 +3,12 @@
<head> <head>
<meta content="text/html; charset=utf-8" http-equiv="content-type"/> <meta content="text/html; charset=utf-8" http-equiv="content-type"/>
<script data-main="main" src="/bower_components/requirejs/require.js"></script> <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> <style>
#pad-iframe { #pad-iframe {
position:fixed; position:fixed;

@ -47,7 +47,7 @@
var favicon = document.getElementById('favicon'); var favicon = document.getElementById('favicon');
if (favicon) { if (favicon) {
var main = favicon.getAttribute('href'); var main = favicon.getAttribute('data-main-favicon');
var alt = favicon.getAttribute('data-alt-favicon'); var alt = favicon.getAttribute('data-alt-favicon');
} }

@ -2,7 +2,11 @@
<html> <html>
<head> <head>
<meta content="text/html; charset=utf-8" http-equiv="content-type"/> <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> <script data-main="main" src="/bower_components/requirejs/require.js"></script>
<style> <style>
html, body { html, body {

Loading…
Cancel
Save