leafo/sticky-kit

conflict when using the plugin with Zurb Foundation 6.2

Opened this issue · 0 comments

Hi,

There is an issue when using this plugin with Zurb Foundation 6.2, i am getting the following error:

Uncaught TypeError: Cannot read property 'jQuery' of undefined

and it indicates to the line 10 ($ = this.jQuery || window.jQuery;)

when I changed that to $ = jQuery || window.jQuery;, it worked, i didn't do a full testing.

what do you suggest ?!