Skip to content

Commit 31ce36b

Browse files
committed
[bug] fix modal string content
1 parent c1e1b0e commit 31ce36b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/js/modal.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ var modal = (function(){
113113
if(options.content){
114114
if(typeofoptions.content=="string"){
115115
varcontainer=helper.node("div|class:container");
116-
varpara=helper.node("p:options.content");
116+
varpara=helper.node("p:"+options.content);
117117
container.appendChild(para);
118118
modalBody.appendChild(container);
119119
}else{

0 commit comments

Comments
(0)