dever 6 years ago
parent
commit
067b0eb014
1 changed files with 4 additions and 1 deletions
  1. 4 1
      assets/lib/manage/main.js

+ 4 - 1
assets/lib/manage/main.js

@@ -1770,7 +1770,10 @@ function fastEdit(e, url, title, col, index)
 		var html = $(t).find('form').prop("outerHTML");
 		var valid = $(t).find('#valid').prop("outerHTML");
 		html = html + valid;
-		html = html.replace('left: 740px', 'left:583px;')
+		if (html.indexOf('left: 740px') != -1) {
+			html = html.replace('left: 740px', 'left:583px;')
+		}
+		
 		if (index == 1) {
 			showAlert(html, func, title, 19850422);
 		} else {