Jelajahi Sumber

F10快捷键

maxiaoshan 3 tahun lalu
induk
melakukan
0b8269f0f9
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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){