diff --git a/src/applications/typeahead/view/PhabricatorTypeaheadTokenView.php b/src/applications/typeahead/view/PhabricatorTypeaheadTokenView.php --- a/src/applications/typeahead/view/PhabricatorTypeaheadTokenView.php +++ b/src/applications/typeahead/view/PhabricatorTypeaheadTokenView.php @@ -126,9 +126,20 @@ $classes[] = $this->getColor(); - return array( + $attributes = array( 'class' => $classes, ); + + if (true) { + Javelin::initBehavior('phui-hovercards'); + + $attributes['sigil'] = 'hovercard'; + $attributes['meta'] = array( + 'hoverPHID' => $this->getKey(), + ); + } + + return $attributes; } protected function getTagContent() {