mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Non-secure warning from YouTube thumbnails
YouTube thumbnails where being loaded over `http` even on a `https` loaded page. Causing the browser bar to change from green to yellow 
This commit is contained in:
parent
b77f7ce567
commit
ab1ace099c
@ -27,7 +27,7 @@
|
|||||||
'height': height,
|
'height': height,
|
||||||
'width': width,
|
'width': width,
|
||||||
'padding-top': paddingTop,
|
'padding-top': paddingTop,
|
||||||
'background': 'url(http://img.youtube.com/vi/' + id + '/hqdefault.jpg) center center no-repeat',
|
'background': 'url(//img.youtube.com/vi/' + id + '/hqdefault.jpg) center center no-repeat',
|
||||||
'cursor': 'pointer',
|
'cursor': 'pointer',
|
||||||
'background-size': 'cover'
|
'background-size': 'cover'
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user