The city council at the first regular meeting after January 1 shall elect from its membership a mayor pro tempore for a term of two years. In the event that no decision is reached at such first regular meeting, the city council shall elect from its membership, within ten days following such meeting, the mayor pro tempore; otherwise the current mayor pro tempore will continue for another year. The mayor pro tempore shall perform the duties of the mayor during the mayor's absence or inability to act and shall fill out any unexpired term in the office of mayor, in which case a new mayor pro tempore shall be elected by majority vote of the city council. A councilmember performing the duties of mayor due to a councilmember's position of mayor pro tempore retains the councilmember's right to vote on city matters.