Fix wiki's SSL issue
fix wiki view Fix to the same issue that was effecting the aside wiki
This commit is contained in:
		@@ -389,7 +389,7 @@ $(document).ready(function() {
 | 
			
		||||
    if (!main.isWikiAsideLoad) {
 | 
			
		||||
      var lang = window.location.toString().match(/\/\w{2}\//);
 | 
			
		||||
      lang = (lang) ? lang[0] : '/en/';
 | 
			
		||||
      var wikiURL = 'http://freecodecamp.github.io/wiki' + lang;
 | 
			
		||||
      var wikiURL = '//freecodecamp.github.io/wiki' + lang;
 | 
			
		||||
      var wikiAside = $('<iframe>');
 | 
			
		||||
      wikiAside.attr({
 | 
			
		||||
        src: wikiURL,
 | 
			
		||||
 
 | 
			
		||||
@@ -4,4 +4,4 @@ block content
 | 
			
		||||
  script.
 | 
			
		||||
      var lang = window.location.toString().match(/\/\w{2}\//);
 | 
			
		||||
      lang = (lang) ? lang[0] : '/en/';
 | 
			
		||||
      $('#wikiFrame').attr('src','http://freecodecamp.github.io/wiki' + lang);
 | 
			
		||||
      $('#wikiFrame').attr('src','//freecodecamp.github.io/wiki' + lang);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user