[bug] fix modal string content

This commit is contained in:
zombieFox 2020-03-09 12:04:18 +00:00
parent c1e1b0eabf
commit 31ce36be8b
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ var modal = (function() {
if (options.content) {
if (typeof options.content == "string") {
var container = helper.node("div|class:container");
var para = helper.node("p:options.content");
var para = helper.node("p:" + options.content);
container.appendChild(para);
modalBody.appendChild(container);
} else {