diff options
author | Stefan Parviainen <saparvia@caterva.eu> | 2015-01-12 20:01:07 +0100 |
---|---|---|
committer | Stefan Parviainen <saparvia@caterva.eu> | 2015-01-12 20:01:07 +0100 |
commit | adc9564b5cc5f1fc410220514285927052cdfe4a (patch) | |
tree | b2b71519398dbd68e9f641719bc334d087d267a3 /view/js/mod_photos.js | |
parent | cce51f5a49c23d25d9fced179710b6f661463a35 (diff) | |
download | volse-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/js/mod_photos.js')
-rw-r--r-- | view/js/mod_photos.js | 2 |
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); }); }); |