Prevent Google Fonts not being loaded due to security issue
Chrome refuses to load http resources if the page was loaded using https.
This commit is contained in:
parent
278ecf67ee
commit
60d686d52b
2
main.js
2
main.js
@ -63,7 +63,7 @@ document.getElementsByTagName('head')[0].innerHTML = ''
|
|||||||
+ '<style>@@INCLUDESTRING:style.css@@</style>'
|
+ '<style>@@INCLUDESTRING:style.css@@</style>'
|
||||||
+ '<style>@@INCLUDESTRING:external/leaflet.css@@</style>'
|
+ '<style>@@INCLUDESTRING:external/leaflet.css@@</style>'
|
||||||
//note: smartphone.css injection moved into code/smartphone.js
|
//note: smartphone.css injection moved into code/smartphone.js
|
||||||
+ '<link href="http://fonts.googleapis.com/css?family=Roboto:normal,bold&subset=latin,cyrillic-ext,greek-ext,greek,cyrillic,latin-ext,vietnamese" rel="stylesheet" type="text/css">';
|
+ '<link href="//fonts.googleapis.com/css?family=Roboto:normal,bold&subset=latin,cyrillic-ext,greek-ext,greek,cyrillic,latin-ext,vietnamese" rel="stylesheet" type="text/css">';
|
||||||
|
|
||||||
document.getElementsByTagName('body')[0].innerHTML = ''
|
document.getElementsByTagName('body')[0].innerHTML = ''
|
||||||
+ '<div id="map">Loading, please wait</div>'
|
+ '<div id="map">Loading, please wait</div>'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user