Uncaught TypeError: Cannot read property 'slice' of undefined #121
|
You mean if target is Could you describe the situation? thanks |
pestka
commented
Sep 24, 2015
|
Thanks for quick response. $.scrollTo($("doesnotexist"));
|
|
You were right, it was handled when passing a selector but not a jQuery object, it now is. Can you download 2.1.2 and confirm it's fixed? |
pestka
commented
Sep 24, 2015
|
Yep, it's fixed in 2.1.2. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Script gives this error if target does not exist.