[openstreetmap/openstreetmap-website] Add social profile links (PR #5439)
Holger Jeromin
notifications at github.com
Thu Feb 13 15:42:33 UTC 2025
@HolgerJeromin commented on this pull request.
> @@ -10,6 +10,35 @@ $(document).ready(function () {
var defaultHomeZoom = 12;
var map, marker, deleted_lat, deleted_lon;
+ if ($("#social_links").length) {
+ $("#add-social-link").click(function (event) {
+ event.preventDefault();
+ const newIndex = -(new Date().getTime());
```suggestion
const newIndex = -Date.now();
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5439#pullrequestreview-2615459934
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5439/review/2615459934 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250213/623dad40/attachment.htm>
More information about the rails-dev
mailing list