1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-28 20:40:24 +02: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

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