Update referral.js

Added autosubmit on enter