Navweb: incorrect link type for osm css files (#1071)

Fixes #011787
This commit is contained in:
Serge Noiraud
2020-06-07 20:10:01 +02:00
committed by GitHub
parent df81a10fe8
commit e375df1e2a
2 changed files with 2 additions and 2 deletions

View File

@@ -724,7 +724,7 @@ class PersonPages(BasePage):
head += Html("script", type="text/javascript",
src=src_js, inline=True)
url = "https://openlayers.org/en/latest/css/ol.css"
head += Html("link", href=url, type="text/javascript",
head += Html("link", href=url, type="text/css",
rel="stylesheet")
src_js = self.secure_mode
src_js += ("maxcdn.bootstrapcdn.com/bootstrap/3.3.7/"

View File

@@ -388,7 +388,7 @@ class PlacePages(BasePage):
head += Html("script", type="text/javascript",
src=src_js, inline=True)
url = "https://openlayers.org/en/latest/css/ol.css"
head += Html("link", href=url, type="text/javascript",
head += Html("link", href=url, type="text/css",
rel="stylesheet")
src_js = self.secure_mode
src_js += ("maxcdn.bootstrapcdn.com/bootstrap/3.3.7/"