Fix: self -> _
This commit is contained in:
parent
7612cd3614
commit
02c61b9276
|
@ -1349,8 +1349,8 @@ function init() {
|
||||||
return Promise.resolve();
|
return Promise.resolve();
|
||||||
}
|
}
|
||||||
return new Promise(resolve => {
|
return new Promise(resolve => {
|
||||||
window.addEventListener('load', function self() {
|
window.addEventListener('load', function _() {
|
||||||
window.removeEventListener('load', self);
|
window.removeEventListener('load', _);
|
||||||
resolve();
|
resolve();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user