1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-31 13:48:04 +01: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:
Marc Alexander 2013-01-08 23:35:39 +01:00
parent b96a2fce28
commit fbdd3170c9

View File

@ -522,7 +522,7 @@ phpbb.addAjaxCallback('alt_text', function() {
altText = el.attr('data-alt-text');
el.attr('data-alt-text', el.text());
el.attr('title', altText);
eel.text(altText);
el.text(altText);
});
/**