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