docs/website: fixing mixing content error
authorAngelo Compagnucci <angelo.compagnucci@gmail.com>
Wed, 13 Jan 2016 20:53:32 +0000 (21:53 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 13 Jan 2016 22:07:57 +0000 (23:07 +0100)
Firefox recently activated mixing content mode protection
(http elements in an https page). This patch changes
the external slides service to https.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
docs/website/js/buildroot.js

index 2fd3b7811b5903d0de02765c51f116bd655520b5..122436e572f6a1ce708368d6611f99623315e610 100644 (file)
@@ -78,7 +78,7 @@ jQuery(document).ready(function($) {
     url = url.split(/[\\/]/).pop()
     $('.nav a[href="/' + url + '"]').parent().addClass('active');
 
-    $('#slides').html('<iframe src="http://docs.google.com/gview?url=http://free-electrons.com/doc/training/buildroot/buildroot-slides.pdf&embedded=true" style="position:absolute; width:100%; height:100%; top:0; left:0;" frameborder="0"></iframe>')
+    $('#slides').html('<iframe src="https://docs.google.com/gview?url=http://free-electrons.com/doc/training/buildroot/buildroot-slides.pdf&embedded=true" style="position:absolute; width:100%; height:100%; top:0; left:0;" frameborder="0"></iframe>')
 });
 
 function showTooltip(elem, msg) {