点击元素和移动到元素的默认名称更改为点击/移动到的元素的文本值

This commit is contained in:
naibo 2023-09-05 21:28:25 +08:00
parent fd9d2b5b24
commit 7030473b39

View File

@ -467,7 +467,8 @@ function toolBoxKernel(e, para = null) {
if (str == "") {
title += LANG("元素", "Element");
} else {
if(window.location.href.indexOf("_CN") != -1){ //中文
let lang = detectLang(str);
if(lang == 1){ //中文
if (str.length > l) {
str = str.substring(0, l) + "...";
}