mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-23 03:25:18 +02: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:
@ -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);
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user