The sentence contains a Subordinating Conjunction in the form of WHENEVER.
A subordinating conjunction can be identified as it is employed to join a dependent clause to an independent clause.
[Gordon bit his nails] + [whenever]+[he was nervous]
[ independent clause ] + [subordinating conjunction] + [dependent clause]