diff options
Diffstat (limited to 'src/rx.ts')
-rw-r--r-- | src/rx.ts | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -222,9 +222,9 @@ class Sequence<A> extends Rx<Array<A>> { // Mount -export function mount(html: Html): Cancelable { +export function mount(element: HTMLElement, html: Html): Cancelable { const state = new State() - let appendRes = appendChild(state, document.body, html) + let appendRes = appendChild(state, element, html) return appendRes.cancel } |