mirror of
https://github.com/vrana/adminer.git
synced 2026-01-05 23:30:44 +01: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:
@@ -9,6 +9,6 @@
|
||||
class AdminerVersionNoverify {
|
||||
|
||||
function head($dark = null) {
|
||||
echo Adminer\script("verifyVersion = function () {};");
|
||||
echo Adminer\script("verifyVersion = () => { };");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user