From c0c4a057121a5482a3740f0786c9d61dd6048d26 Mon Sep 17 00:00:00 2001 From: Anyon Date: Sun, 8 Apr 2018 10:21:35 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E5=90=8E?= =?UTF-8?q?=E5=8F=B0=E7=AE=A1=E7=90=86JS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/admin.js b/static/admin.js index 3f2044efd..97900b3df 100644 --- a/static/admin.js +++ b/static/admin.js @@ -169,7 +169,7 @@ $(function () { return false; } if (typeof (res) === 'object') { - return $.msg.auto(res, res.wait ? res.wait : time); + return $.msg.auto(res, time || res.wait || undefined); } self.show(res); }