mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11313] Use correct object el instead of eel in alt_text callback
This typo was added by the PRs #860 and #1178. Only the object el exists and is correct. Due to this the text of links using the alt_text callback were not modified while executing the callback. PHPBB3-11313
This commit is contained in:
parent
b96a2fce28
commit
fbdd3170c9
1 changed files with 1 additions and 1 deletions
|
@ -522,7 +522,7 @@ phpbb.addAjaxCallback('alt_text', function() {
|
||||||
altText = el.attr('data-alt-text');
|
altText = el.attr('data-alt-text');
|
||||||
el.attr('data-alt-text', el.text());
|
el.attr('data-alt-text', el.text());
|
||||||
el.attr('title', altText);
|
el.attr('title', altText);
|
||||||
eel.text(altText);
|
el.text(altText);
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue