Commit 9ef3a644 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou

cloudbar: Apply condition on whether or not to load webfont css files

parent 413c61df
......@@ -29,6 +29,7 @@ $(document).ready(function(){
// load extra css
var extra_css = window.CLOUDBAR_EXTRA_CSS || [];
if (window.CLOUDBAR_INCLUDE_FONTS === false) { extra_css = []; }
var css_tag = undefined;
var css_uri = undefined;
for (var i=0; i<extra_css.length; i++) {
......
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