Better HTTPS support and FAB image fixes

This commit is contained in:
mmk2410 2015-07-03 10:31:04 +02:00
parent 8fe84b6ef7
commit cdfccd1754
2 changed files with 3 additions and 3 deletions

View file

@ -52,7 +52,7 @@ THE SOFTWARE.
<?php <?php
} }
?> ?>
<link href='http://fonts.googleapis.com/css?family=Roboto:400,500,700,300,400italic,100,100italic,900' rel='stylesheet' type='text/css'> <link href='//fonts.googleapis.com/css?family=Roboto:400,500,700,300,400italic,100,100italic,900' rel='stylesheet' type='text/css'>
<link rel="shortcut icon" href="res/favicon.png"> <link rel="shortcut icon" href="res/favicon.png">
<link rel="stylesheet" href="./res/css/github-gist.css"> <link rel="stylesheet" href="./res/css/github-gist.css">
<script src="./res/js/highlight.pack.js"></script> <script src="./res/js/highlight.pack.js"></script>

View file

@ -58,7 +58,7 @@ function goBack() {
function fabFadeIn() { function fabFadeIn() {
$('.subfab').fadeIn(125); $('.subfab').fadeIn(125);
$('.fab-img').fadeOut(60, function callback() { $('.fab-img').fadeOut(60, function callback() {
$('.fab-img').attr("src", "http://c2/rangitaki/res/img/close.svg"); $('.fab-img').attr("src", "./res/img/close.svg");
}); });
$('.fab-img').fadeIn(60); $('.fab-img').fadeIn(60);
} }
@ -66,7 +66,7 @@ function fabFadeIn() {
function fabFadeOut() { function fabFadeOut() {
$('.subfab').fadeOut(125); $('.subfab').fadeOut(125);
$('.fab-img').fadeOut(60, function callback() { $('.fab-img').fadeOut(60, function callback() {
$('.fab-img').attr("src", "http://c2/rangitaki/res/img/share.svg"); $('.fab-img').attr("src", "./res/img/share.svg");
}); });
$('.fab-img').fadeIn(60); $('.fab-img').fadeIn(60);
} }