need click twice after hide a shown bootstrap popover

后端 未结 7 1581
情书的邮戳
情书的邮戳 2020-11-30 03:14



        
7条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-30 03:45

    I used Darren's answer above. Sorry Darren, I still can't comment on other's post. One slight change though. I changed 'show' to 'toggle' to be able to toggle the popup box.

    From:

    $(this).popover('show');
    

    To

    $(this).popover('toggle');
    

提交回复
热议问题