diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js index 752dfa4ab2..0c528dba5e 100644 --- a/phpBB/assets/javascript/core.js +++ b/phpBB/assets/javascript/core.js @@ -937,7 +937,7 @@ phpbb.addAjaxCallback('alt_text', function() { altText = $this.attr('data-alt-text'); $this.attr('data-alt-text', $this.text()); $this.attr('title', $.trim(altText)); - $this.text(altText); + $this.children('span').text(altText); }); });