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()
|
||||
|
||||
$(document).ready ->
|
||||
$("img").error ->
|
||||
$(this).hide()
|
||||
# Hides the chrome broken image when image is absent
|
||||
if !Modernizr.testAllProps('forceBrokenImageIcon')
|
||||
$('img.favicon').one 'error', ->
|
||||
$(this).css visibility: 'hidden'
|
||||
|
Loading…
Reference in New Issue
Block a user