diff --git a/src/index.js b/src/index.js index 1a85efa..5b7dd8a 100644 --- a/src/index.js +++ b/src/index.js @@ -1,4 +1,4 @@ -if (typeof window.livewire === 'undefined') { +if (typeof window.Livewire === 'undefined') { throw 'Livewire Turbolinks Plugin: window.Livewire is undefined. Make sure @livewireScripts is placed above this script include' }