I want to do he following, but it does not work:
if(pathname == '/ik/services/' || '/ik/recruitment/'){
//run function
}
It is completely ignoring my if statement and executes the code for all pages...
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…