Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/candy-chat/candy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weibel <mweibel@users.noreply.github.com>2017-04-03 19:47:17 +0300
committerGitHub <noreply@github.com>2017-04-03 19:47:17 +0300
commitcc5e0b88a8902bb8211e9fda1975aa2543ca3879 (patch)
tree4d67b8fcf6f870c89994db31f9fcfa68cb2df9cd
parenteefe95ab06c96f2296486dcc1f6705aea297440f (diff)
parent7765619458542799d4494b3a78836a69fa60ea0e (diff)
Merge pull request #506 from candy-chat/update-candy-demogh-pages
Update candy-demo to work again
-rw-r--r--public/application.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/public/application.js b/public/application.js
index 969a108..2d93b5f 100644
--- a/public/application.js
+++ b/public/application.js
@@ -15,8 +15,7 @@ $(document).ready(function() {
}
} else {
$('html,body').stop().animate({'scrollTop': Math.floor(showcase.offset().top) + 1});
- var protocol = 'https:' === document.location.protocol ? 'https' : 'http';
- showcase.html('<iframe src="' + protocol + '://dev.openflex.net/candy" scrolling="no" frameborder="0"></iframe>');
+ showcase.html('<iframe src="https://candy-demo.openflex.net/candy/example/" scrolling="no" frameborder="0"></iframe>');
showcase.addClass('demomode');
$(this).text('ONLINE').addClass('demomode');
$('#demoarrow').stop(true, true).fadeIn();