1
0
mirror of https://github.com/bitwarden/web synced 2025-12-06 00:03:28 +00:00
Files
web/js/fallback-styles.min.js
2017-11-08 22:03:30 -05:00

1 line
572 B
JavaScript

function loadStylesheetIfMissing(e,t,s){var i=document.getElementsByTagName("SCRIPT"),l=i[i.length-1].previousElementSibling,o=document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(l):l.currentStyle;if(o&&o[e]!==t)for(var n=0;n<s.length;n++)document.write('<link rel="stylesheet" href="'+s[n]+"?v="+cacheTag+'" />')}var cacheTag="xmlmrpjsjor";loadStylesheetIfMissing("visibility","hidden",["lib/bootstrap/css/bootstrap.min.css"]),loadStylesheetIfMissing("fontFamily","FontAwesome",["lib/font-awesome/css/font-awesome.min.css"]);