Forráskód Böngészése

修复代码美化工具双击导致白屏的bug

Alien 11 éve
szülő
commit
5aa0ad0bdb

+ 1 - 1
chrome/manifest.json

@@ -1,6 +1,6 @@
 { 
 	"name": "WEB前端助手(FeHelper)", 
-	"version": "4.5",
+	"version": "4.6",
     "manifest_version": 2,
 	 
 	"default_locale": "zh_CN", 

+ 1 - 1
chrome/online.manifest.json

@@ -1,6 +1,6 @@
 {
     "name": "WEB前端助手(FeHelper)",
-    "version": "4.5",
+    "version": "4.6",
     "manifest_version": 2,
 
     "default_locale": "zh_CN",

+ 2 - 2
chrome/static/js/codebeautify/syntax-highlighter.js

@@ -2318,8 +2318,8 @@ sh.Highlighter.prototype = {
 		if (this.getParam('toolbar'))
 			attachEvent(findElement(div, '.toolbar'), 'click', sh.toolbar.handler);
 		
-		if (this.getParam('quick-code'))
-			attachEvent(findElement(div, '.code'), 'dblclick', quickCodeHandler);
+//		if (this.getParam('quick-code'))
+//			attachEvent(findElement(div, '.code'), 'dblclick', quickCodeHandler);
 		
 		return div;
 	},