I am using bootstrap and Parse framework to build a small webapp. But those Bootstrap modals keep adding padding-right to body after closed. How to solve this?
I tri
removeAttr won't work you will to remove the CSS property like this:
$('.modal').on('hide.bs.modal', function (e) { e.stopPropagation(); $('body').css('padding-right',''); });
With no property value, the property is removed.