Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Run, Restart and RestartRunAll buttons not appearing #514

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,23 +75,23 @@ export function renderCell(element, options) {

let $cm_element = $("<div class='thebelab-input'>");
$cell.append($cm_element);
if (mergedOptions.MountRunButton) {
if (mergedOptions.mountRunButton) {
$cell.append(
$("<button class='thebelab-button thebelab-run-button'>")
.text("run")
.attr("title", "run this cell")
.click(execute)
);
}
if (mergedOptions.MountRestartButton) {
if (mergedOptions.mountRestartButton) {
$cell.append(
$("<button class='thebelab-button thebelab-restart-button'>")
.text("restart")
.attr("title", "restart the kernel")
.click(restart)
);
}
if (mergedOptions.MountRestartallButton) {
if (mergedOptions.mountRestartallButton) {
$cell.append(
$("<button class='thebelab-button thebelab-restartall-button'>")
.text("restart & run all")
Expand Down