From cdfccd1754cd09a0263f6ac3302bd0f70ed28a78 Mon Sep 17 00:00:00 2001 From: mmk2410 Date: Fri, 3 Jul 2015 10:31:04 +0200 Subject: [PATCH] Better HTTPS support and FAB image fixes --- index.php | 2 +- res/js/app.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index efc9af4..3885e4a 100644 --- a/index.php +++ b/index.php @@ -52,7 +52,7 @@ THE SOFTWARE. - + diff --git a/res/js/app.js b/res/js/app.js index 96a4dde..7f2e1dc 100644 --- a/res/js/app.js +++ b/res/js/app.js @@ -58,7 +58,7 @@ function goBack() { function fabFadeIn() { $('.subfab').fadeIn(125); $('.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); } @@ -66,7 +66,7 @@ function fabFadeIn() { function fabFadeOut() { $('.subfab').fadeOut(125); $('.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); }