Update foundation.dropdown.js - geting target when resize

That change fix bug when we have 2 or more elements that trigger dropdown, we have target on data atrr so we can get this element directly from data when resize window (not search by id)