Browse Source

Invoking callback via setTimeout

Yury Delendik 13 years ago
parent
commit
3c1d63055d
  1. 2
      src/fonts.js

2
src/fonts.js

@ -456,7 +456,7 @@ var FontLoader = {
// it's simple completion for one request // it's simple completion for one request
context.pending = 0; context.pending = 0;
context.requests.pop(); context.requests.pop();
callback(); setTimeout(callback, 0);
return; return;
} }

Loading…
Cancel
Save