Skip to content

Commit ff475b3

Browse files
committed
fix createBF in ActionDialog
1 parent d33159e commit ff475b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ActionDialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ define(
4343
*/
4444
exports.createBF = function (type, mainDOM) {
4545
if (mainDOM) {
46-
this.content = mainDOM.innerHTML;
46+
this[type === 'body' ? 'content' : 'foot'] = mainDOM.innerHTML;
4747
}
4848
else {
4949
mainDOM = document.createElement('div');

0 commit comments

Comments
 (0)