Permalink
Browse files

Fix window.location.protocol issues in Firefox

  • Loading branch information...
ttutdxh-nubits committed Feb 6, 2016
1 parent ae183d5 commit c9497a8d0c889f5353326360111a6472de1bc178
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/cointoolkit.js
View
@@ -1,7 +1,7 @@
$(document).ready(function() {
if(window.location.hostname == "ttutdxh-nubits.github.io" && window.location.protocol != 'https:') {
- window.location.protocol = "https:";
+ window.location.href = "https:" + window.location.href.substring(window.location.protocol.length);
}
var toolkit = {};

0 comments on commit c9497a8

Please sign in to comment.