fix confirm

This commit is contained in:
yuri
2019-09-27 14:54:55 +03:00
parent 2a891c01e7
commit bbd943eb93
+1 -1
View File
@@ -236,7 +236,7 @@ define('view', [], function () {
confirm: function (o, callback, context) {
if (typeof o === 'string' || o instanceof String) {
var message = o;
o = o || {};
o = {};
} else {
o = o || {};
var message = o.message;