La gestion des favicons cassés car non présents est plus propre entre les navigateurs
This commit is contained in:
parent
5de285378d
commit
6277e22300
@ -38,5 +38,7 @@ $(document).on 'page:load', ->
|
|||||||
$(this).updatePolyfill()
|
$(this).updatePolyfill()
|
||||||
|
|
||||||
$(document).ready ->
|
$(document).ready ->
|
||||||
$("img").error ->
|
# Hides the chrome broken image when image is absent
|
||||||
$(this).hide()
|
if !Modernizr.testAllProps('forceBrokenImageIcon')
|
||||||
|
$('img.favicon').one 'error', ->
|
||||||
|
$(this).css visibility: 'hidden'
|
||||||
|
Loading…
Reference in New Issue
Block a user