diff options
author | Derky <derky@phpbb.com> | 2018-09-15 12:53:51 +0200 |
---|---|---|
committer | Derky <derky@phpbb.com> | 2018-09-15 12:53:51 +0200 |
commit | 9481ff4c1cde2cea9678ddd61549f9be2993d1d1 (patch) | |
tree | 6a0c4d6781c8b8d67a598a5cb10da8edaf447b0d /phpBB/assets | |
parent | Merge branch '3.2.x' (diff) | |
parent | Merge pull request #5339 from senky/ticket/15748 (diff) | |
download | phpbb-9481ff4c1cde2cea9678ddd61549f9be2993d1d1.tar.gz phpbb-9481ff4c1cde2cea9678ddd61549f9be2993d1d1.tar.bz2 phpbb-9481ff4c1cde2cea9678ddd61549f9be2993d1d1.zip |
Merge branch '3.2.x'
Diffstat (limited to 'phpBB/assets')
-rw-r--r-- | phpBB/assets/javascript/core.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js index ac976dd204..a38117aa0c 100644 --- a/phpBB/assets/javascript/core.js +++ b/phpBB/assets/javascript/core.js @@ -931,9 +931,9 @@ phpbb.addAjaxCallback('alt_text', function() { $anchor.each(function() { var $this = $(this); altText = $this.attr('data-alt-text'); - $this.attr('data-alt-text', $this.text()); - $this.attr('title', $.trim(altText)); - $this.text(altText); + $this.attr('data-alt-text', $.trim($this.text())); + $this.attr('title', altText); + $this.children('span').text(altText); }); }); |