Twenty Seventeen: Keyboard navigation on Safari 10 fix
This resolves the weird behaviour on Safari 10 has some weird behaviour. Props rianrietveld, swisspidy, afercia, sami.keijonen, arush, davidakennedy Fixes #38387 git-svn-id: https://develop.svn.wordpress.org/trunk@39206 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ef9eb5f26e
commit
5cab939b1e
@ -102,7 +102,7 @@ function twentyseventeen_get_svg( $args = array() ) {
|
|||||||
*
|
*
|
||||||
* See https://core.trac.wordpress.org/ticket/38387.
|
* See https://core.trac.wordpress.org/ticket/38387.
|
||||||
*/
|
*/
|
||||||
$svg .= ' <use xlink:href="#icon-' . esc_html( $args['icon'] ) . '"></use> ';
|
$svg .= ' <use href="#icon-' . esc_html( $args['icon'] ) . '" xlink:href="#icon-' . esc_html( $args['icon'] ) . '"></use> ';
|
||||||
|
|
||||||
// Add some markup to use as a fallback for browsers that do not support SVGs.
|
// Add some markup to use as a fallback for browsers that do not support SVGs.
|
||||||
if ( $args['fallback'] ) {
|
if ( $args['fallback'] ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user