HomePhabricator

mediawiki.widgets: Remove autoEllipsis() from TitleOptionWidget

Authored by Krinkle on Mar 18 2017, 12:04 AM.

Description

mediawiki.widgets: Remove autoEllipsis() from TitleOptionWidget

Redundant with CSS 'text-overflow: ellipsis', which is already applied.

Aside from ellipsis overflow, autoEllipsis() was also serving as indirect
caller of highlightText( option.matchText ) and attr('title'),
which we want to keep, so leave that in its place.

Bug: T160804
Change-Id: I550183750d66d769cc9c960150a2349d1b9181aa