diff --git a/adminer/include/design.inc.php b/adminer/include/design.inc.php
index 9d67fde3..b1c3133e 100644
--- a/adminer/include/design.inc.php
+++ b/adminer/include/design.inc.php
@@ -76,7 +76,7 @@ const offlineMessage = '" . js_escape(lang('You are offline.')) . "';
const thousandsSeparator = '" . js_escape(lang(',')) . "';")
;
echo "
\n";
- echo script("mixin(qs('#help'), {onmouseover: function () { helpOpen = 1; }, onmouseout: helpMouseout});");
+ echo script("mixin(qs('#help'), {onmouseover: () => { helpOpen = 1; }, onmouseout: helpMouseout});");
echo "\n";
if ($breadcrumb !== null) {
$link = substr(preg_replace('~\b(username|db|ns)=[^&]*&~', '', ME), 0, -1);
diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php
index 13923016..4e995ed4 100644
--- a/adminer/include/functions.inc.php
+++ b/adminer/include/functions.inc.php
@@ -974,7 +974,7 @@ function slow_query($query) {
$connection2 = null;
if (!$slow_query && support("kill") && is_object($connection2 = connect($adminer->credentials())) && ($db == "" || $connection2->select_db($db))) {
$kill = $connection2->result(connection_id()); // MySQL and MySQLi can use thread_id but it's not in PDO_MySQL
- echo script("const timeout = setTimeout(function () { ajax('" . js_escape(ME) . "script=kill', function () {}, 'kill=$kill&token=$token'); }, 1000 * $timeout);");
+ echo script("const timeout = setTimeout(() => { ajax('" . js_escape(ME) . "script=kill', function () {}, 'kill=$kill&token=$token'); }, 1000 * $timeout);");
}
ob_flush();
flush();
diff --git a/adminer/include/html.inc.php b/adminer/include/html.inc.php
index 51d65c29..a574f115 100644
--- a/adminer/include/html.inc.php
+++ b/adminer/include/html.inc.php
@@ -150,7 +150,7 @@ function html_radios($name, $options, $value = "") {
* @return string
*/
function confirm($message = "", $selector = "qsl('input')") {
- return script("$selector.onclick = function () { return confirm('" . ($message ? js_escape($message) : lang('Are you sure?')) . "'); };", "");
+ return script("$selector.onclick = () => confirm('" . ($message ? js_escape($message) : lang('Are you sure?')) . "');", "");
}
/** Print header for hidden fieldset (close by
)
diff --git a/adminer/schema.inc.php b/adminer/schema.inc.php
index 34eb7bb1..fb453388 100644
--- a/adminer/schema.inc.php
+++ b/adminer/schema.inc.php
@@ -52,7 +52,7 @@ foreach (table_status('', true) as $table => $table_status) {
?>