MediaWiki:Gadget-HotCat.js:修订间差异
删除的内容 添加的内容
无编辑摘要 |
小无编辑摘要 |
||
| (未显示同一用户的1个中间版本) | |||
第1,601行:
class CategoryEditor {
constructor(...args) {
this.isCompositionStart = false; ▼
this.callbackObj = null;▼
this.initialize(...args);
}
▲ isCompositionStart = false;
initialize(line, span, after, key, is_hidden) {
if (span) {
第1,825行 ⟶ 第1,826行:
self.invokeSuggestions(false);
});
} catch (e) {
}
$(text).on("blur", () => {
第2,016行 ⟶ 第2,017行:
try {
this.catLink.style.backgroundColor = HC.bg_changed;
} catch (e) {
}
}
第2,160行 ⟶ 第2,161行:
try {
this.catLink.style.backgroundColor = HC.bg_changed;
} catch (e) {
}
}
第2,211行 ⟶ 第2,212行:
try {
this.catLink.style.backgroundColor = HC.bg_changed;
} catch (e) {
}
this.originalState = this.state;
第2,244行 ⟶ 第2,245行:
try {
this.catLink.style.backgroundColor = HC.bg_changed;
} catch (e) {
}
}
第2,324行 ⟶ 第2,325行:
});
}
▲ callbackObj = null;
textchange(dont_autocomplete, force) {
makeActive(this);
第2,942行:
suggestionConfig.name = getMessage("engine_names-".concat(key));
}
} catch (e) {
continue;
}
| |||