Fix: console error

undefined content on window resize before firing plugin