summaryrefslogtreecommitdiff
path: root/plugins/OpenExternalLinkTarget
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-03-25 17:24:10 -0400
committerEvan Prodromou <evan@status.net>2010-03-25 17:24:10 -0400
commitcbf321eeb371fecdb069a33301629a6d045425f1 (patch)
treeeb44b8419e74d5653d2fa178e84f46e0b01401bf /plugins/OpenExternalLinkTarget
parent9c63ae6e443e7b23f64e31617a1762393473509a (diff)
parentc066e5285c12be5ccf243e8be79dc07977f78366 (diff)
Merge branch 'master' of git@gitorious.org:statusnet/mainline
Diffstat (limited to 'plugins/OpenExternalLinkTarget')
-rw-r--r--plugins/OpenExternalLinkTarget/OpenExternalLinkTargetPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OpenExternalLinkTarget/OpenExternalLinkTargetPlugin.php b/plugins/OpenExternalLinkTarget/OpenExternalLinkTargetPlugin.php
index ebb0189e0..6756f1993 100644
--- a/plugins/OpenExternalLinkTarget/OpenExternalLinkTargetPlugin.php
+++ b/plugins/OpenExternalLinkTarget/OpenExternalLinkTargetPlugin.php
@@ -45,7 +45,7 @@ class OpenExternalLinkTargetPlugin extends Plugin
{
function onEndShowScripts($action)
{
- $action->inlineScript('$("a[rel~=external]").click(function(){ window.open(this.href); return false; });');
+ $action->inlineScript('$("a[rel~=external]:not([class~=attachment])").live("click", function(){ window.open(this.href); return false; });');
return true;
}