Error in Branching Scenario

Detailed steps to reproduce the bug (exactly how and when did it happen)

Hi All

We are having an issues when we try to add a link within a presentation when they are in the branching scenario 

We open a presentation in a branching scenario path, highlight text and select the link icon (Attached Image - Error1)

When we do this the link item menu pops open, but is empty (Attached Image – Error2)

Finally after a few seconds the page completely crashes, in Chrome we get a Aww, Snap - Error Code: Status_Breakpoint (Attached Image – Error3)

Platform and version number. E.g. Drupal, Wordpress, Moodle.

Moodle 

Mobile or Desktop

Desktop

Browser: Chrome, Firefox, Safari etc

Chrome

H5P plugin version

Brenaching Senario - 1.2.1

Content types: