mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
Merge branch '3.2.x'
This commit is contained in:
commit
9481ff4c1c
1 changed files with 3 additions and 3 deletions
|
@ -931,9 +931,9 @@ phpbb.addAjaxCallback('alt_text', function() {
|
||||||
$anchor.each(function() {
|
$anchor.each(function() {
|
||||||
var $this = $(this);
|
var $this = $(this);
|
||||||
altText = $this.attr('data-alt-text');
|
altText = $this.attr('data-alt-text');
|
||||||
$this.attr('data-alt-text', $this.text());
|
$this.attr('data-alt-text', $.trim($this.text()));
|
||||||
$this.attr('title', $.trim(altText));
|
$this.attr('title', altText);
|
||||||
$this.text(altText);
|
$this.children('span').text(altText);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue