mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Revert "Fix check for existing category in article."
This reverts commit 50c48a1cac
Change-Id: I3eca792883171a3390a9fc6f95ca42bfdedcf986
This commit is contained in:
parent
50c48a1cac
commit
8d4a351059
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue