mirror of
https://github.com/discourse/discourse.git
synced 2025-03-23 09:56:49 +08: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,
|
||||
'width': width,
|
||||
'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',
|
||||
'background-size': 'cover'
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user