We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bd6b36 commit e474918Copy full SHA for e474918
src/resources/views/script.blade.php
@@ -1,4 +1,6 @@
1
+window.addEventListener("load", function() {
2
$(function(){window.{{ config('datatables-html.namespace', 'LaravelDataTables') }}=window.{{ config('datatables-html.namespace', 'LaravelDataTables') }}||{};window.{{ config('datatables-html.namespace', 'LaravelDataTables') }}["%1$s"]=$("#%1$s").DataTable(%2$s);});
3
+});
4
@foreach ($scripts as $script)
5
@include($script)
6
@endforeach
0 commit comments