Only unregister WT string handler in WT handler factory

Bug: T144653
Change-Id: I91528b56ac3905a05e8da51455055537958e026e
This commit is contained in:
Ed Sanders 2016-09-21 13:08:10 -07:00
parent 5bc54fd036
commit d8fb7b84d3
2 changed files with 2 additions and 2 deletions

View file

@ -67,5 +67,3 @@ ve.ce.MWWikitextSurface.prototype.onCopy = function ( e ) {
} );
}
};
ve.ui.dataTransferHandlerFactory.unregister( ve.ui.MWWikitextStringTransferHandler );

View file

@ -65,3 +65,5 @@ ve.ui.MWWikitextDataTransferHandlerFactory.prototype.create = function () {
/* Initialization */
ve.ui.wikitextDataTransferHandlerFactory = new ve.ui.MWWikitextDataTransferHandlerFactory();
ve.ui.wikitextDataTransferHandlerFactory.unregister( ve.ui.MWWikitextStringTransferHandler );