Selecting branch in merge request Modernizr error

Created by: jameswritescode

When selecting a branch for a merge request (this might be new with the fork-merge addition today) selecting the branch seems to bug with Modernizr:

Uncaught TypeError: Cannot set property 'selected' of undefined

Examples:

Forked repo:

Regular repo: