Mercurial Hosting > nabble
comparison src/nabble/view/web/util/codemirror/css/font.js @ 16:2e504670a010
google fonts https
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 03 Oct 2019 22:14:53 -0600 |
parents | 7ecd1a4ef557 |
children |
comparison
equal
deleted
inserted
replaced
15:c673a03725ba | 16:2e504670a010 |
---|---|
7 setTimeout(function() { | 7 setTimeout(function() { |
8 if (/AppleWebKit/.test(navigator.userAgent) && /iP[oa]d|iPhone/.test(navigator.userAgent)) return; | 8 if (/AppleWebKit/.test(navigator.userAgent) && /iP[oa]d|iPhone/.test(navigator.userAgent)) return; |
9 var link = document.createElement("LINK"); | 9 var link = document.createElement("LINK"); |
10 link.type = "text/css"; | 10 link.type = "text/css"; |
11 link.rel = "stylesheet"; | 11 link.rel = "stylesheet"; |
12 link.href = "http://fonts.googleapis.com/css?family=Droid+Sans|Droid+Sans:bold"; | 12 link.href = "https://fonts.googleapis.com/css?family=Droid+Sans|Droid+Sans:bold"; |
13 document.documentElement.getElementsByTagName("HEAD")[0].appendChild(link); | 13 document.documentElement.getElementsByTagName("HEAD")[0].appendChild(link); |
14 waitForStyles(); | 14 waitForStyles(); |
15 }, 20); | 15 }, 20); |