diff --git a/index.js b/index.js index 473f81e..b077dc8 100644 --- a/index.js +++ b/index.js @@ -54,7 +54,7 @@ function choo () { // start the application // (str?, obj?) -> DOMNode function start (rootId, opts) { - if (!opts) { + if (!opts && typeof rootId !== 'string') { opts = rootId rootId = null }