aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerky <derky@phpbb.com>2018-09-15 12:53:51 +0200
committerDerky <derky@phpbb.com>2018-09-15 12:53:51 +0200
commit9481ff4c1cde2cea9678ddd61549f9be2993d1d1 (patch)
tree6a0c4d6781c8b8d67a598a5cb10da8edaf447b0d /phpBB/assets
parentMerge branch '3.2.x' (diff)
parentMerge pull request #5339 from senky/ticket/15748 (diff)
downloadphpbb-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.js6
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);
});
});