Added onclick for class item.

Signed-off-by: cocolekat <cocolekat@gmail.com>