[bug] fix modal string content
This commit is contained in:
parent
c1e1b0eabf
commit
31ce36be8b
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue