When any action is pending before a judge at the time his or her office becomes vacant and his or her books and records have been delivered to the circuit court, it may try the action and enter judgment as though the action was begun before it.