From adc9564b5cc5f1fc410220514285927052cdfe4a Mon Sep 17 00:00:00 2001 From: Stefan Parviainen Date: Mon, 12 Jan 2015 20:01:07 +0100 Subject: Refactor mention code to make it more reusable --- view/js/mod_photos.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view') 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); }); }); -- cgit v1.2.3