aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_photos.js
diff options
context:
space:
mode:
authorpafcu <pafcu@iki.fi>2015-01-12 21:07:54 +0200
committerpafcu <pafcu@iki.fi>2015-01-12 21:07:54 +0200
commita0134de28abdaf820d14a161a05578c16911cdbd (patch)
treeb2b71519398dbd68e9f641719bc334d087d267a3 /view/js/mod_photos.js
parent55eb6be30885919882f05162f53ea2216ecffac3 (diff)
parentadc9564b5cc5f1fc410220514285927052cdfe4a (diff)
downloadvolse-hubzilla-a0134de28abdaf820d14a161a05578c16911cdbd.tar.gz
volse-hubzilla-a0134de28abdaf820d14a161a05578c16911cdbd.tar.bz2
volse-hubzilla-a0134de28abdaf820d14a161a05578c16911cdbd.zip
Merge pull request #844 from pafcu/moretagging
Refactor mention code to make it more reusable
Diffstat (limited to 'view/js/mod_photos.js')
-rw-r--r--view/js/mod_photos.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/mod_photos.js b/view/js/mod_photos.js
index 4c724c5e1..0526fd1e6 100644
--- a/view/js/mod_photos.js
+++ b/view/js/mod_photos.js
@@ -4,7 +4,7 @@ var ispublic = aStr['everybody'];
$(document).ready(function() {
$(document).ready(function() {
$("#photo-edit-newtag").contact_autocomplete(baseurl + '/acl', 'p', false, function(data) {
- $("#photo-edit-newtag").val('@' + data.name.replace(' ','_')); // TODO: Get rid of underscore
+ $("#photo-edit-newtag").val('@' + data.name);
});
});