F
F
format_iai2019-05-26 16:22:03
JavaScript
format_iai, 2019-05-26 16:22:03

After loading content with an SVG element via AJAX in chrome, it is not displayed, any ideas?

After loading content with SVG element
$('.cart-popup__wrapper').load('index.php?route=common/cart/info .cart-popup');
such an element inside

...
<button class="cart-popup__product_cart-remove">
  <svg>
     <use xlink:href="img/sprite/sprite.svg#cancel"></use>
  </svg>
</button>
...

It doesn't display the image in Chrome, it's fine in other browsers, any ideas?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question