Add id to decorateCooked API call
This commit is contained in:
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 {
|
||||
|
|
Loading…
Reference in New Issue