From a6e179c726a38eca9dc529f4ff7534c6c8a2abc7 Mon Sep 17 00:00:00 2001 From: Argo-Lenovo Date: Wed, 5 Apr 2017 11:52:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9BUG=EF=BC=9A=E7=BC=93?= =?UTF-8?q?=E5=AD=98=E6=97=B6=E9=97=B4=E5=86=99=E6=AD=BB=E4=BA=86600?= =?UTF-8?q?=E7=A7=92=EF=BC=8C=E6=9B=B4=E6=94=B9=E4=B8=BA=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E7=9A=84Interval?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/Scripts/Settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bootstrap.Admin/Scripts/Settings.js b/Bootstrap.Admin/Scripts/Settings.js index 924da310..189691ed 100644 --- a/Bootstrap.Admin/Scripts/Settings.js +++ b/Bootstrap.Admin/Scripts/Settings.js @@ -145,7 +145,7 @@ default: break; } - return $.format(html, ele.Interval, ele.Key, ele.Desc, ele.Value, css, options.url, Math.max(1, 600 - Math.round((new Date() - new Date(ele.CreateTime)) / 1000))); + return $.format(html, ele.Interval, ele.Key, ele.Desc, ele.Value, css, options.url, Math.max(0, ele.Interval - Math.round((new Date() - new Date(ele.CreateTime)) / 1000))); }).join(''); $sortable.append($.format('
  • {0}-{1}
  • ', options.item.Desc, options.item.Key)); $sortable.append(content);