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

This commit is contained in:
Anyon 2018-07-17 11:01:07 +08:00
parent 22734ac477
commit 71b9a9fa61

View File

@ -41,6 +41,7 @@
<script>
// 添加标签
require(['bootstrap'], function () {
$('body').find('[data-add-tag]').map(function () {
var self = this;
var fans_id = this.getAttribute('data-add-tag');
@ -66,7 +67,6 @@
$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');