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