Title: TypeError: t.addClass(&#8220;custom-position&#8221;)
Last modified: April 22, 2021

---

# TypeError: t.addClass(“custom-position”)

 *  Resolved [maraki](https://wordpress.org/support/users/neodjandre/)
 * (@neodjandre)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/typeerror-t-addclasscustom-position/)
 * The popup used to work fine. After the latest update, we are getting errors.
 * TypeError: t.addClass(“custom-position”).position(r).trigger is not a function.(
   In ‘t.addClass(“custom-position”).position(r).trigger(“popmakeAfterReposition”)’,‘
   t.addClass(“custom-position”).position(r).trigger’ is undefined)
 * This only happens on Safari.
 * Could you please help?
 * Many thanks
    -  This topic was modified 5 years, 1 month ago by [maraki](https://wordpress.org/support/users/neodjandre/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Maria T](https://wordpress.org/support/users/mariatogonon/)
 * (@mariatogonon)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/typeerror-t-addclasscustom-position/#post-14350978)
 * Hi [@neodjandre](https://wordpress.org/support/users/neodjandre/) – sorry to 
   for the inconvenience.
 * Since you mentioned that the problem occurs after you have updated the Popup 
   Maker to its latest version, then please always ensure that all forms of caching(
   browser, on-site plugins, or server-side caching such as Cloudflare) have been**
   cleared/deleted/emptied** to avoid this type of issues.
    ​ You may also try to**
   temporarily disable the cache of Cloudflare or switch it off temporarily** and
   check it again to see if the issue still persists._ You can also reach out to
   your hosting provider – they should be able to assist you with this._
 * If that does not helps, I would suggest seeing if this guide gives you anything
   useful to go on: [Checking JavaScript Errors](https://docs.wppopupmaker.com/article/373-checking-javascript-errors)
   ​
   Hope that helps!
 *  [Maria T](https://wordpress.org/support/users/mariatogonon/)
 * (@mariatogonon)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/typeerror-t-addclasscustom-position/#post-14383980)
 * Hi there, [@neodjandre](https://wordpress.org/support/users/neodjandre/) – just
   want to make a follow-up regarding this.
 * Is everything working properly on your end now?
 * If you have any other questions or concerns, just let us know. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘TypeError: t.addClass(“custom-position”)’ is closed to new replies.

 * ![](https://ps.w.org/popup-maker/assets/icon-256x256.gif?rev=3097653)
 * [Popup Maker - Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder](https://wordpress.org/plugins/popup-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popup-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popup-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/popup-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popup-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popup-maker/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Maria T](https://wordpress.org/support/users/mariatogonon/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/typeerror-t-addclasscustom-position/#post-14383980)
 * Status: resolved