diff --git a/mathquill4quill.js b/mathquill4quill.js index ca9260e..3a166cb 100644 --- a/mathquill4quill.js +++ b/mathquill4quill.js @@ -53,7 +53,7 @@ window.mathquill4quill = function(dependencies) { } function newMathquillInput() { - const autofocus = options.autofocus || true; + const autofocus = options.autofocus == null ? true : options.autofocus; let mqInput = null; let mqField = null; let latexInputStyle = null;