Move editfont class down to surface view, so it doesn't break DebugBar

Change-Id: I779ab9d581af37ae104acf4ea6a83b86504bb257
This commit is contained in:
Ed Sanders 2016-10-07 16:10:58 -04:00
parent 7551b0e788
commit 31a3f2f0b6

View file

@ -25,7 +25,7 @@ ve.ui.MWDesktopWikitextSurface = function VeUiMWDesktopWikitextSurface() {
// * mw-editfont-monospace
// * mw-editfont-sans-serif
// * mw-editfont-serif
this.$element.addClass( 've-ui-mwDesktopWikitextSurface mw-editfont-' + mw.user.options.get( 'editfont' ) );
this.getView().$element.addClass( 've-ui-mwDesktopWikitextSurface mw-editfont-' + mw.user.options.get( 'editfont' ) );
};
/* Inheritance */