Why hit to Odell Beckham Jr.'s leg was perfectly legal

Why hit to Odell Beckham Jr.’s leg was perfectly legal
Source: ESPN.com