laravel-debugbar icon indicating copy to clipboard operation
laravel-debugbar copied to clipboard

Adds check for availability of jQuery

Open niveshsaharan opened this issue 5 years ago • 4 comments

Fixes Uncaught TypeError: Cannot read property 'noConflict' of undefined when jQuery is not yet initialized.

niveshsaharan avatar Jul 01 '20 10:07 niveshsaharan

Not really sure why jQuery wouldn't be intialized.

barryvdh avatar Jul 01 '20 14:07 barryvdh

I’m not sure either. I am only using Laravel Livewire in my app and it always throws error in console. On 1 Jul 2020, 8:29 PM +0530, Barry vd. Heuvel [email protected], wrote:

Not really sure why jQuery wouldn't be intialized. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

niveshsaharan avatar Jul 01 '20 15:07 niveshsaharan

Are you using Turbolinks? I think that should be fixed with https://github.com/barryvdh/laravel-debugbar/pull/1084

barryvdh avatar Aug 16 '20 11:08 barryvdh

Thank you @barryvdh

yes, I use Turbolinks. I will check it.

niveshsaharan avatar Aug 17 '20 06:08 niveshsaharan