Back and forward bug

Author: elfassyCreated Oct 1, 2013Updated Jan 27, 2021
  • load a page
  • click browser back button
  • click browser forward button

then i see double every javascript enhanced elements (example twice the drowp down field, twice the RTE...). Can anyone else reproduce this problem?

i'm using

javascript
$(document).on("pjax:end ready", function(){
 ...
}

with pjax:complete or pjax:success I don't get duplicate dropdowns, but i can't select them after going back and forth. thanks for the help!