1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-17 14:18:24 +01:00

[ticket/16237] need to update WebDriver/phantomJS

PHPBB3-16237
This commit is contained in:
hanakin 2020-05-07 12:23:30 -10:00
parent 21bef051af
commit 3c7d941135

View File

@ -1052,11 +1052,11 @@ phpbb.addAjaxCallback('alt_text', function() {
* and changes the link itself.
*/
phpbb.addAjaxCallback('toggle_link', function() {
let $anchor;
let updateAll = $(this).data('update-all');
let toggleText;
let toggleUrl;
let toggleIcon;
var $anchor;
var updateAll = $(this).data('update-all');
var toggleText;
var toggleUrl;
var toggleIcon;
if (updateAll !== undefined && updateAll.length) {
$anchor = $(updateAll);