diff --git a/core/js/js.js b/core/js/js.js index dd3f3b2ac3..30cf01d0b2 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -202,6 +202,22 @@ $(document).ready(function(){ var src=element.attr('src'); element.attr('src',src.substr(0,src.length-3)+'png'); }); + $('.svg').each(function(index,element){ + element=$(element); + var background=element.css('background-image'); + if(background && background!='none'){ + background=background.substr(0,background.length-4)+'png)'; + element.css('background-image',background); + } + element.find('*').each(function(index,element) { + element=$(element); + var background=element.css('background-image'); + if(background && background!='none'){ + background=background.substr(0,background.length-4)+'png)'; + element.css('background-image',background); + } + }); + }); }; $('form.searchbox').submit(function(event){ event.preventDefault(); diff --git a/files/templates/index.php b/files/templates/index.php index 3951787a25..083322174e 100644 --- a/files/templates/index.php +++ b/files/templates/index.php @@ -5,14 +5,14 @@ -