mirror of
https://github.com/OpenBankProject/API-Explorer.git
synced 2026-02-06 10:47:23 +00:00
Merge pull request #205 from oldbig/bugfix/compile_error_by_js_arrow_function
Fix compile error caused by js arrow function
This commit is contained in:
commit
1158a8a6cd
@ -294,7 +294,9 @@ function copyJsonResultToClipboard(element) {
|
||||
// It delays the call by ms milliseconds
|
||||
function defer(f, ms) {
|
||||
return function() {
|
||||
setTimeout(() => f.apply(this, arguments), ms);
|
||||
setTimeout(function() {
|
||||
f.apply(this, arguments);
|
||||
}, ms);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user