@AntonKhorev commented on this pull request.


> +      if (!mutations.some(mutation => mutation.target.tagName === "TITLE")) 
> return;
+      const newTitle = `${document.title} | ${firstParentTitle}`;
+      if (parent.document.title === newTitle) return;
+      parent.document.title = newTitle;

```suggestion
      parent.document.title = `${document.title} | ${firstParentTitle}`;
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5865#pullrequestreview-2727973616
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/5865/review/2727973...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to