diff options
author | Michael Weibel <michael.weibel@gmail.com> | 2015-01-08 00:36:20 +0300 |
---|---|---|
committer | Michael Weibel <michael.weibel@gmail.com> | 2015-01-08 00:36:20 +0300 |
commit | 11a2e8667a210a614ba196886becb918728f9daa (patch) | |
tree | 7b6f78806a5140e41696389568f44c8049f0a5b1 | |
parent | f38cbd7a7a764eb65315785b947756c9a925c53d (diff) |
yoyo
-rw-r--r-- | public/application.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/application.js b/public/application.js index 63dd21b..969a108 100644 --- a/public/application.js +++ b/public/application.js @@ -15,7 +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'; + var protocol = 'https:' === document.location.protocol ? 'https' : 'http'; showcase.html('<iframe src="' + protocol + '://dev.openflex.net/candy" scrolling="no" frameborder="0"></iframe>'); showcase.addClass('demomode'); $(this).text('ONLINE').addClass('demomode'); |