Skip to content

Toggle commit list not working due to not rebinding turbolink event

Summary

When you click Compare to previous commit and back to discussion tab. Toggle commit list stops working

Steps to reproduce

  1. Click toggle commit list
  2. click Compare with previous version link
  3. Back to discussion tab
  4. Click toggle commit list again

Expected behavior

It should toggle commit list

Actual behavior

Not toggling

Possible fixes

Needs Turbolink rebind