gromo / jquery.scrollbar

jQuery CSS Customizable Scrollbar
GNU General Public License v2.0
756 stars 238 forks source link

Invalid regular expression: /(^|\.)scrollbar_2(\.|$)/ #149

Closed ichsanwahyudi29 closed 6 years ago

ichsanwahyudi29 commented 6 years ago
screen shot 2018-01-22 at 17 48 04

When I "scroll" the scrollbar and then show that error, I use jquery 1.9, is have to use jquery 1.7? how if I want to use higher version of jquery?

thank you

gromo commented 6 years ago

Can you prepare example on jsFiddle.net ? This is the first time I see such error

ichsanwahyudi29 commented 6 years ago

https://jsfiddle.net/Ichsanindraw/3cw3f8mk/6/?utm_source=website&utm_medium=embed&utm_campaign=3cw3f8mk

I try in jsFiddle but it's work, but I didn't know why when I try in my project it's didn't work, but if I use jquery 1.7.1 or higher version ( > 1.9.1 ) it's working

gromo commented 6 years ago

Hi. I think it may be jQuery bug. Fix is to change jQuery version :)