Commit c1cdbbc4 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

fix for safari icons removed due to conflicting css

parent 30313891
......@@ -23,15 +23,6 @@
function initMap(){
/**
* Safari has some issue with the jquery css or the way JSF presents the CSS resources.
* This is a hack that fixes this issue by forcing the icon sprite png to be loaded once the document is ready.
*/
var style = document.createElement("style");
var styleText = document.createTextNode(".ui-icon { background-image: url(/minerva/javax.faces.resource/images/ui-icons_616161_256x240.png.xhtml?ln=primefaces-aristo&m_version=Unknown) !important; }");
style.appendChild(styleText);
document.head.appendChild(style);
BrowserCheck();
var element = document.getElementById('minervaAppDiv');
return minerva.create({
......
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