aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorStefan Parviainen <saparvia@caterva.eu>2015-01-12 20:01:07 +0100
committerStefan Parviainen <saparvia@caterva.eu>2015-01-12 20:01:07 +0100
commitadc9564b5cc5f1fc410220514285927052cdfe4a (patch)
treeb2b71519398dbd68e9f641719bc334d087d267a3 /view
parentcce51f5a49c23d25d9fced179710b6f661463a35 (diff)
downloadvolse-hubzilla-adc9564b5cc5f1fc410220514285927052cdfe4a.tar.gz
volse-hubzilla-adc9564b5cc5f1fc410220514285927052cdfe4a.tar.bz2
volse-hubzilla-adc9564b5cc5f1fc410220514285927052cdfe4a.zip
Refactor mention code to make it more reusable
Diffstat (limited to 'view')
-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);
});
});