1
0
mirror of synced 2026-08-05 04:46:55 +00:00

Add id to decorateCooked API call

This commit is contained in:
Penar Musaraj
2019-06-20 10:14:57 -04:00
parent 6128f07d01
commit e509c6f6e4
@@ -102,9 +102,12 @@ function mathjax($elem, opts) {
}
function initializeMath(api, discourse_math_opts) {
api.decorateCooked(function(elem) {
mathjax(elem, discourse_math_opts);
});
api.decorateCooked(
function(elem) {
mathjax(elem, discourse_math_opts);
},
{ id: "mathjax" }
);
}
export default {