Answer
The directions match.
Work Step by Step
When an electron vibrates back and forth, it emits a plane-polarized electromagnetic wave. The direction of polarization matches the direction along which the electron is vibrating.
This is discussed on page 555, and shown in Figure 29.29.