The investigation began Monday when a city employee told police about a comment posted to the city’s Facebook page.