You don't need to add two classes and two different onClick events.
You can invoke only one onClick event and in that function you can add code accordingly as you want to operate things like following:
button(class="my-btn do-btn")
$(my-btn/do-btn).onClick(() => {
first fn-call;
second fn-call;
});
//In this way first and second will call sequentially
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…