sql console also doesn't create a normal note by default

This commit is contained in:
zadam
2021-06-06 13:38:01 +02:00
parent a0de3c97a5
commit 3893f663d0
8 changed files with 57 additions and 9 deletions

View File

@@ -121,7 +121,7 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null, $contain
button.append($("<span>").text(opts.title));
} else {
button = $('<span class="button-widget icon-action bx" data-toggle="tooltip" title="" data-placement="right"></span>')
.addClass("bx bx-" + opts.icon);
.addClass("bx bx-" + (opts.icon || "question-mark"));
button.attr("title", opts.title);
button.tooltip({html: true});