1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 00:54:08 +02:00

JS: Use arrow functions

All function () {} left in the code reference `this` and thus couldn't use arrow functions.
This commit is contained in:
Jakub Vrana
2025-03-20 10:22:44 +01:00
parent 3c310ddfaf
commit 1f5a7fa717
12 changed files with 31 additions and 35 deletions

View File

@@ -9,6 +9,6 @@
class AdminerVersionNoverify {
function head($dark = null) {
echo Adminer\script("verifyVersion = function () {};");
echo Adminer\script("verifyVersion = () => { };");
}
}