Fixed little bug which disabled the editor in chrome

Closes #801