[Regression wmf.23]
Steps to reproduce:
- Open a page with VE
- Make some edits
- Click on Read
- When the dialog appears click on "Discard Edit"
Observed Result:
The following error appears in the console and it does not switch to Read tab
"Uncaught TypeError: this.emit is not a function"