瀏覽代碼

F10快捷键

maxiaoshan 3 年之前
父節點
當前提交
0b8269f0f9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/web/staticres/js/common.js

+ 1 - 1
src/web/staticres/js/common.js

@@ -192,7 +192,7 @@ common.spider.initMirror=function(){
 	editor_4.setSize("auto","300");
 }
 common.spider.setExpert=function(editor,text){
-	text=text.substr(text.indexOf("func"));
+	text=text.substr(text.indexOf("function "));
 	eval(editor+".setValue("+JSON.stringify(text, null, "\t")+")")
 }
 common.spider.guideActive=function(name,li){