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('