The common council may, by a majority vote of the qualified electors of the city voting thereon either at a regular or special election, provide by ordinance that the mayor shall be directly elected by the electors rather than selected by the common council.