Mercurial Hosting > nabble
changeset 16:2e504670a010
google fonts https
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 03 Oct 2019 22:14:53 -0600 |
parents | c673a03725ba |
children | c9bbcebcf359 |
files | src/nabble/view/naml/change_appearance.naml src/nabble/view/web/util/codemirror/css/font.js |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/nabble/view/naml/change_appearance.naml Thu Aug 22 03:27:22 2019 +1000 +++ b/src/nabble/view/naml/change_appearance.naml Thu Oct 03 22:14:53 2019 -0600 @@ -909,7 +909,7 @@ <macro name="google_font_option" parameters="input_id,font"> <n.put_in_head.> - <link href="http://fonts.googleapis.com/css?family=[n.encode_url.encode_text.font/]" rel="stylesheet" type="text/css"/> + <link href="https://fonts.googleapis.com/css?family=[n.encode_url.encode_text.font/]" rel="stylesheet" type="text/css"/> </n.put_in_head.> <span class="rounded option-button" @@ -1225,7 +1225,7 @@ <n.encode_url.encode_text.substring text="[n.font/]" begin="4"/> </n.set_var.> <![CDATA[ - <link href='http://fonts.googleapis.com/css?family=]]><n.var name='font_name'/><![CDATA[' rel='stylesheet' type='text/css'/> + <link href='https://fonts.googleapis.com/css?family=]]><n.var name='font_name'/><![CDATA[' rel='stylesheet' type='text/css'/> ]]> </then> </n.if.starts_with>
--- a/src/nabble/view/web/util/codemirror/css/font.js Thu Aug 22 03:27:22 2019 +1000 +++ b/src/nabble/view/web/util/codemirror/css/font.js Thu Oct 03 22:14:53 2019 -0600 @@ -9,7 +9,7 @@ var link = document.createElement("LINK"); link.type = "text/css"; link.rel = "stylesheet"; - link.href = "http://fonts.googleapis.com/css?family=Droid+Sans|Droid+Sans:bold"; + link.href = "https://fonts.googleapis.com/css?family=Droid+Sans|Droid+Sans:bold"; document.documentElement.getElementsByTagName("HEAD")[0].appendChild(link); waitForStyles(); }, 20);