File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -389,7 +389,7 @@ $(document).ready(function() {
389
389
if ( ! main . isWikiAsideLoad ) {
390
390
var lang = window . location . toString ( ) . match ( / \/ \w { 2 } \/ / ) ;
391
391
lang = ( lang ) ? lang [ 0 ] : '/en/' ;
392
- var wikiURL = 'http: //freecodecamp.github.io/wiki' + lang ;
392
+ var wikiURL = '//freecodecamp.github.io/wiki' + lang ;
393
393
var wikiAside = $ ( '<iframe>' ) ;
394
394
wikiAside . attr ( {
395
395
src : wikiURL ,
Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ block content
4
4
script .
5
5
var lang = window .location .toString ().match (/ \/ \w {2} \/ / );
6
6
lang = (lang) ? lang[0 ] : ' /en/' ;
7
- $ (' #wikiFrame' ).attr (' src' ,' http: //freecodecamp.github.io/wiki' + lang);
7
+ $ (' #wikiFrame' ).attr (' src' ,' //freecodecamp.github.io/wiki' + lang);
You can’t perform that action at this time.
0 commit comments