Fix copying options in auto render (#1623)

This commit is contained in:
ylemkimon
2018-08-18 20:55:15 +09:00
committed by Erik Demaine
parent 0a35a3d184
commit 52f3c05ccc

View File

@@ -85,7 +85,7 @@ const renderMathInElement = function(elem, options) {
// Object.assign(optionsCopy, option)
for (const option in options) {
if (options.hasOwnProperty(option)) {
optionsCopy[option] = option;
optionsCopy[option] = options[option];
}
}