aboutsummaryrefslogtreecommitdiff
path: root/views/default/output
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-22 13:03:35 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-22 13:03:35 +0000
commit999909a52579a31ee732857a7c7ea44a8762e206 (patch)
treebe6c1093d5a0e98f0f40b60dd79e1628632970b1 /views/default/output
parent04b385de111ff0f8b9fa3fd1b1399c70b2aa87bf (diff)
downloadelgg-999909a52579a31ee732857a7c7ea44a8762e206.tar.gz
elgg-999909a52579a31ee732857a7c7ea44a8762e206.tar.bz2
Fixes #1541: javascript now correctly included in output/url view
git-svn-id: http://code.elgg.org/elgg/trunk@3964 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/output')
-rw-r--r--views/default/output/url.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/output/url.php b/views/default/output/url.php
index 7d993c49e..7319f6971 100644
--- a/views/default/output/url.php
+++ b/views/default/output/url.php
@@ -41,7 +41,7 @@ if (!empty($url)) {
}
if (array_key_exists('js', $vars) && $vars['js']) {
- $js = "{$vars['target']}";
+ $js = "{$vars['js']}";
} else {
$js = '';
}
@@ -53,4 +53,4 @@ if (!empty($url)) {
}
echo "<a href=\"{$url}\" $target $class $js>$text</a>";
-} \ No newline at end of file
+}