summaryrefslogtreecommitdiff
path: root/lib/attachmentlist.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-06-25 00:25:22 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-06-25 00:25:22 +0000
commitfa57e717e3bbb01e0c19fcb30f3d67bd596c730f (patch)
treed1d2e349a47d2487cb7d7f892faf5186c7b4f0c4 /lib/attachmentlist.php
parent5067f2ba3a39100c9922ce073b2a2fe2d3ada0e5 (diff)
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)
Diffstat (limited to 'lib/attachmentlist.php')
-rw-r--r--lib/attachmentlist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/attachmentlist.php b/lib/attachmentlist.php
index a2446a886..60f9a27c0 100644
--- a/lib/attachmentlist.php
+++ b/lib/attachmentlist.php
@@ -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)) {