Title: Issue with jquery smoothscroll
Last modified: August 30, 2016

---

# Issue with jquery smoothscroll

 *  [christian70](https://wordpress.org/support/users/christian70/)
 * (@christian70)
 * [11 years ago](https://wordpress.org/support/topic/issue-with-jquery-smoothscroll/)
 * Hi. I installed Cookie Notice plugin on my site where jquery.smoothscroll.js
   (
   see: [http://tao-hc.com/files/jquery.smoothscroll.js](http://tao-hc.com/files/jquery.smoothscroll.js))
   is also loaded. Now everytime I click on the accept text in order to close che
   cookie bar, I got this error: Uncaught TypeError: Cannot read property ‘clientHeight’
   of undefined (jquery.smoothscroll.js?ver=4.1.5:269) It never happens apart from
   clicking on the accept text. Any suggestion on how it may be fixed? Thanks.
 * [https://wordpress.org/plugins/cookie-notice/](https://wordpress.org/plugins/cookie-notice/)

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

 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [11 years ago](https://wordpress.org/support/topic/issue-with-jquery-smoothscroll/#post-6194981)
 * Try to disable js caching – minify and try again.
    BTW what is your jQuery version?
 *  Thread Starter [christian70](https://wordpress.org/support/users/christian70/)
 * (@christian70)
 * [11 years ago](https://wordpress.org/support/topic/issue-with-jquery-smoothscroll/#post-6195051)
 * I’m pretty sure it is not caused by minified js because it occurs also locally
   on xampp where W3 Total Cache is not installed. Anyway I disabled W3 plugin and
   you can check the result here: [http://tao-hc.com/](http://tao-hc.com/). Everytime
   I click on OK that error comes out. I can’t fix that. Thanx. P.S. I’m using jQuery
   v1.11.1
 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [11 years ago](https://wordpress.org/support/topic/issue-with-jquery-smoothscroll/#post-6195093)
 * I don’t have any issue on your site – click ok, cookie is stored, notice is hidden
   in a na nimated way.
 *  Thread Starter [christian70](https://wordpress.org/support/users/christian70/)
 * (@christian70)
 * [11 years ago](https://wordpress.org/support/topic/issue-with-jquery-smoothscroll/#post-6195094)
 * Yes, you’re right, it works in the end, but to me the js error I reported occurs
   in consolle everytime I click ok. Well it doesn’t seem to block the plugin functionality,
   but I can’t get what it is due to.

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

The topic ‘Issue with jquery smoothscroll’ is closed to new replies.

 * ![](https://ps.w.org/cookie-notice/assets/icon-256x256.png?rev=3549327)
 * [Compliance by Hu-manity.co](https://wordpress.org/plugins/cookie-notice/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookie-notice/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookie-notice/)
 * [Active Topics](https://wordpress.org/support/plugin/cookie-notice/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookie-notice/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookie-notice/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [christian70](https://wordpress.org/support/users/christian70/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/issue-with-jquery-smoothscroll/#post-6195094)
 * Status: not resolved