How to re-position a Bootstrap Popover after dynamic changes ?

There is no right way to re-position popover after it was created but you can call popover('show') each time you need to change position and do all your calculations inside placement function.

jQuery(document).ready(function() {
        content: jQuery('#popover-content'),
        placement() {
            if (jQuery(window).width() <= 992) {
                return 'top';

            return 'left'
        html: true,
        trigger: 'manual',

    jQuery(window).resize(function() {
Fork me on GitHub