1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-18 14:48:28 +01:00

[ticket/15748] Fix toggle alt text

PHPBB3-15748
This commit is contained in:
Jakub Senko 2018-09-04 14:41:00 +02:00
parent bd90a53589
commit 367f884d01
No known key found for this signature in database
GPG Key ID: 6A7C328CD66EC21E

View File

@ -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);
});
});