diff options
author | Evan Prodromou <evan@status.net> | 2010-03-25 17:24:10 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-03-25 17:24:10 -0400 |
commit | cbf321eeb371fecdb069a33301629a6d045425f1 (patch) | |
tree | eb44b8419e74d5653d2fa178e84f46e0b01401bf /plugins/OpenExternalLinkTarget | |
parent | 9c63ae6e443e7b23f64e31617a1762393473509a (diff) | |
parent | c066e5285c12be5ccf243e8be79dc07977f78366 (diff) |
Merge branch 'master' of git@gitorious.org:statusnet/mainline
Diffstat (limited to 'plugins/OpenExternalLinkTarget')
-rw-r--r-- | plugins/OpenExternalLinkTarget/OpenExternalLinkTargetPlugin.php | 2 |
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; } |