Revert "Fix check for existing category in article."

This reverts commit 50c48a1cac

Change-Id: I3eca792883171a3390a9fc6f95ca42bfdedcf986
This commit is contained in:
Trevor Parscal 2013-05-13 21:24:03 +00:00 committed by Gerrit Code Review
parent 50c48a1cac
commit 8d4a351059

View file

@ -116,7 +116,7 @@ ve.ui.MWCategoryInputWidget.prototype.getLookupMenuItemsFromData = function ( da
for ( i = 0, len = matchingCategories.length; i < len; i++ ) {
item = matchingCategories[i];
if (
existingCategoryItems.indexOf( category.value ) === -1 &&
existingCategoryItems.indexOf( item ) === -1 &&
item.match( pattern )
) {
if ( item === category.value ) {