aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2012-10-19 13:53:37 -0400
committerBrett Profitt <brett.profitt@gmail.com>2012-10-19 13:53:37 -0400
commite6ab6c957aa6b2382abdfa2c7c8c60623a4e17f9 (patch)
tree2101229ba417ad4eee86dfe30005e8790dd4069e /js/lib
parentb412b990eb3e8d30acbcf927c531d77f529ce8c4 (diff)
downloadelgg-e6ab6c957aa6b2382abdfa2c7c8c60623a4e17f9.tar.gz
elgg-e6ab6c957aa6b2382abdfa2c7c8c60623a4e17f9.tar.bz2
Added special checks for mailto: in elgg_normalize_url() and elgg.normalize_url().
Diffstat (limited to 'js/lib')
-rw-r--r--js/lib/elgglib.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/elgglib.js b/js/lib/elgglib.js
index 81209ebd0..dc7c07165 100644
--- a/js/lib/elgglib.js
+++ b/js/lib/elgglib.js
@@ -283,7 +283,7 @@ elgg.normalize_url = function(url) {
}
// 'javascript:'
- else if (url.indexOf('javascript:') === 0) {
+ else if (url.indexOf('javascript:') === 0 || url.indexOf('mailto:') === 0 ) {
return url;
}