diff options
-rw-r--r-- | www/index.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/index.html b/www/index.html index 1122007..5cd55ae 100644 --- a/www/index.html +++ b/www/index.html @@ -92,6 +92,17 @@ }; </script> + + <script type="text/javascript"> + // Include the cobrand's CSS, if CONFIG.COBRAND is set + if (CONFIG && CONFIG.COBRAND) { + var linkElement = document.createElement("link"); + linkElement.href = 'cobrands/' + CONFIG.COBRAND + '/css/style.css'; + linkElement.type = "text/css"; + linkElement.rel = 'stylesheet'; + $('head').append(linkElement); + } + </script> </head> <body onload="onload()"> <div id="map_box"> |