21961 This chapter does not prevent local authorities from adopting ordinances prohibiting pedestrians from crossing roadways at other than crosswalks.