3 ms·Seems like this assumes that the form submits to location.pathname alwaysby fareesh 4y agoSeems like this assumes that the form submits to location.pathname always