defunkt / jquery-pjax

pushState + ajax = pjax
https://pjax.herokuapp.com
MIT License
16.73k stars 1.97k forks source link

Modal bootstrap is create class modal-backdrop two times when using pjax #729

Open nguyenlt1506 opened 4 years ago

nguyenlt1506 commented 4 years ago

Hi everyone, i try pjax on my project and i had a bug when i use modal. when i click show modal, it created tow div class modal-backdrop. and when i close modal, one modal-backdrop is still appear. Please help me to fix it! Thanks a lot!