docs: remove extra check for parent var, iframe check is enough