Make global (footer) share buttons work