Recognize ExtLink/URL and ExtLink/Numbered in LinkInspector

Change-Id: Ib13fd3396132695a844db6151296c52fa5f96032
This commit is contained in:
Catrope 2012-08-13 18:03:34 -07:00
parent 5a40d90573
commit 826518c1e1

View file

@ -84,7 +84,9 @@ ve.ui.LinkInspector.prototype.getFirstLinkAnnotation = function ( annotations )
// Use the first one with a recognized type (there should only be one, this is just in case)
if (
annotations[hash].type === 'link/WikiLink' ||
annotations[hash].type === 'link/ExtLink'
annotations[hash].type === 'link/ExtLink' ||
annotations[hash].type === 'link/ExtLink/Numbered' ||
annotations[hash].type === 'link/ExtLink/URL'
) {
return annotations[hash];
}