Can we check evt.detail.origin instead a class?