From 31ce36be8bcade8ee321466d75db0668ec036656 Mon Sep 17 00:00:00 2001 From: zombieFox Date: Mon, 9 Mar 2020 12:04:18 +0000 Subject: [PATCH] [bug] fix modal string content --- src/js/modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/modal.js b/src/js/modal.js index 63dec3f0..0bf81e36 100644 --- a/src/js/modal.js +++ b/src/js/modal.js @@ -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 {