Update vendor/assets/javascripts/foundation/jquery.foundation.tabs.js

I did a fix for issue 1146 Tabs and base-tag.
added #1430