git.psu.edu has been upgraded to 13.8.4. Please email support@git.psu.edu with any Gitlab problems. See the git.psu.edu yammer group for more information. 13.9.x will be soon.

Commit 06dc755f authored by ROBERT PATRICK CAREY III's avatar ROBERT PATRICK CAREY III 🗿

FFF

parent 1808a0c5
......@@ -75,11 +75,14 @@ const userPreferences = ({
fetchFontFace(params){
let FontFaceObserver = require('fontfaceobserver');
let fontFace = new FontFaceObserver(params.name);
if(typeof FontFace !== "undefined"){
let font = new FontFace(params.name, "url("+params.url+")");
fontFace.load().then(function() {
document.fonts.add(font);
});
}
},
setViewingMode(mode) {
mode = mode ? mode : defaults.viewingMode;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment