When a joke is said to be "on a person" it means that the person is the object of the joke.