|
|
@ -141,6 +141,10 @@ $(function(){
|
|
|
|
$('#searchInput, #wpNewTitleMain input, #searchText input[name="search"]').on('compositionend', function(e) {
|
|
|
|
$('#searchInput, #wpNewTitleMain input, #searchText input[name="search"]').on('compositionend', function(e) {
|
|
|
|
replaceChars(this);
|
|
|
|
replaceChars(this);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
// 修复使用中文输入法不会触发搜索提示的问题
|
|
|
|
|
|
|
|
$('#searchInput').on('compositionend', function() {
|
|
|
|
|
|
|
|
$(this).trigger('keypress')
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// 初始化dialog
|
|
|
|
// 初始化dialog
|
|
|
|
var messageDialog = new OO.ui.MessageDialog();
|
|
|
|
var messageDialog = new OO.ui.MessageDialog();
|
|
|
|