10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-11-03 20:53:59 +01:00
QUESTDB_website/js/MathJaxPolyfill.js
2020-11-24 18:21:58 +00:00

10 lines
282 B
JavaScript

function MathJaxPolyfillInit(){
if (!MathJax.typesetPromise) {
var typesetPromise = function() {
return new Promise(function (resolve, reject) {
MathJax.Hub.Queue(["Typeset",MathJax.Hub],[resolve]);
})
}
MathJax.typesetPromise=typesetPromise
}
}