Understanding the navbar button script

What this line does