diff --git a/main.go b/main.go index 1630105..c0e9ade 100644 --- a/main.go +++ b/main.go @@ -48,13 +48,6 @@ func init() { // 定时检查无效会话 session.FixedTimeRelease() - - // 定时输出日志(TODO: 后面考虑换一个日志库) - go func() { - for _ = range time.Tick(time.Second) { - glog.Flush() - } - }() } // 登录. diff --git a/static/js/wide.js b/static/js/wide.js index f735aa2..95826a0 100644 --- a/static/js/wide.js +++ b/static/js/wide.js @@ -501,15 +501,6 @@ var wide = { return false; } - if ($(".menu li.run").hasClass("disabled")) { - return false; - } - - if ($(".toolbars .ico-stop").length === 1) { - wide.stop(); - return false; - } - var request = newWideRequest(); request.file = currentPath; request.code = wide.curEditor.getValue();