Moved the attachment representation outside of the anchor so that
onclick, it doesn't follow through on the href (e.g., it would play the video in the overlay instead)
This commit is contained in:
parent
5067f2ba3a
commit
fa57e717e3
@ -249,8 +249,8 @@ class Attachment extends AttachmentListItem
|
||||
$this->out->elementStart('div', 'entry-title');
|
||||
$this->out->elementStart('a', $this->linkAttr());
|
||||
$this->out->element('span', null, $this->linkTitle());
|
||||
$this->showRepresentation();
|
||||
$this->out->elementEnd('a');
|
||||
$this->showRepresentation();
|
||||
$this->out->elementEnd('div');
|
||||
|
||||
if (!empty($this->oembed->author_name) || !empty($this->oembed->provider)) {
|
||||
|
Loading…
Reference in New Issue
Block a user