单项选择题

There were dirty marks on her trousers ______ she had wiped her hands.

A.where
B.which
C.when
D.that