diff options
author | Michael Weibel <mweibel@users.noreply.github.com> | 2017-04-03 19:46:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-03 19:46:59 +0300 |
commit | 7765619458542799d4494b3a78836a69fa60ea0e (patch) | |
tree | 4d67b8fcf6f870c89994db31f9fcfa68cb2df9cd | |
parent | eefe95ab06c96f2296486dcc1f6705aea297440f (diff) |
Update candy-demo to work again
Previous host connected to swissjabber which doesn't seem to work again. This uses a self hosted ejabberd instance.
-rw-r--r-- | public/application.js | 3 |
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(); |