# Unique custom icon for review page only

**URL:** <https://meta.discourse.org/t/unique-custom-icon-for-review-page-only/246621>\
**Category:** Development\
**Created:** [November 24, 2022, 7:57am UTC](https://meta.discourse.org/t/unique-custom-icon-for-review-page-only/246621 "2022-11-24T07:57:57Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Joart](https://avatars.discourse-cdn.com/v4/letter/j/43a26b/32.png) [@Joart](https://meta.discourse.org/u/Joart)\
**Post date:** [November 29, 2022, 3:17pm UTC](https://meta.discourse.org/t/unique-custom-icon-for-review-page-only/246621/3 "2022-11-29T15:17:06Z")

</div>

I tried that:

```plaintext
    api.onPageChange((url) => {
       if (window.location.href.indexOf("review") > -1) {
             api.replaceIcon('check', 'full-circle-icon');
       }
    }

```

But it’s not working…  
I have this error:

> SyntaxError: /discourse/theme-35/initializers/theme-field-379-common-html-script-1: Unexpected token, expected “,” (97:5)

Did I do something wrong?

---

_[View the full topic](https://meta.discourse.org/t/unique-custom-icon-for-review-page-only/246621)._
