Skip to content

Commit 456228e

Browse files
committed
fix docs
1 parent de78263 commit 456228e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/source/exts/interactive_widget.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@ def run(self):
6161
fadeOutAndThen(enableWidgetButton, () => {{
6262
mount.removeChild(enableWidgetButton);
6363
mount.setAttribute("class", "interactive widget-container");
64-
layout.renderLayout(mount, ws_proto + idom_url + "/stream?view_id={view_id}");
64+
layout.mountLayoutWithWebSocket(
65+
mount,
66+
ws_proto + idom_url + "/stream?view_id={view_id}"
67+
);
6568
}});
6669
}});
6770
}});

0 commit comments

Comments
 (0)