[更新]修改粉丝标签控制

This commit is contained in:
Anyon 2018-07-17 10:46:55 +08:00
parent 4ec997ad2f
commit 22734ac477

View File

@ -66,6 +66,7 @@
$content.on('click', 'input', function () {
($content.find('input:checked').size() > 3) && (this.checked = false);
});
require(['bootstrap'], function () {
// 标签选择面板
$(this).data('content', $content).on('shown.bs.popover', function () {
$('[data-add-tag]').not(this).popover('hide');
@ -76,5 +77,6 @@
title: '标签编辑(最多选择三个标签)',
template: '<div class="popover" style="max-width:500px" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content" style="width:500px"></div></div>'
});
})
});
</script>