mirror of
https://github.com/typecho/typecho.git
synced 2025-03-20 09:59:41 +01:00
标签自动完成截取5个结果
This commit is contained in:
parent
e3491d87d6
commit
9ce4283e7e
@ -67,7 +67,11 @@ $(document).ready(function() {
|
||||
animateDropdown : false,
|
||||
hintText : '<?php _e('请输入标签名'); ?>',
|
||||
noResultsText : '此标签不存在, 按回车创建',
|
||||
prePopulate : tagsPre
|
||||
prePopulate : tagsPre,
|
||||
|
||||
onResult : function (result) {
|
||||
return result.slice(0, 5);
|
||||
}
|
||||
});
|
||||
|
||||
// tag autocomplete 提示宽度设置
|
||||
|
Loading…
x
Reference in New Issue
Block a user