Permalink
Browse files
Fix window.location.protocol issues in Firefox
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+1
−1
js/cointoolkit.js
|
|
@@ -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