Fix script paths in layouts

This commit is contained in:
Matthew Penner 2020-04-11 14:49:40 -06:00
parent a7dab69711
commit 4d833af5f4
3 changed files with 7 additions and 7 deletions

View file

@ -173,8 +173,8 @@
</footer>
</div>
@section('footer-scripts')
{{--{!! Theme::js('js/keyboard.polyfill.js') !!}
<script>keyboardeventKeyPolyfill.polyfill();</script>--}}
<script src="/js/keyboard.polyfill.js" type="application/javascript"></script>
<script>keyboardeventKeyPolyfill.polyfill();</script>
{!! Theme::js('vendor/jquery/jquery.min.js?t={cache-version}') !!}
{!! Theme::js('vendor/sweetalert/sweetalert.min.js?t={cache-version}') !!}
@ -185,7 +185,7 @@
{!! Theme::js('vendor/bootstrap-notify/bootstrap-notify.min.js?t={cache-version}') !!}
{!! Theme::js('vendor/select2/select2.full.min.js?t={cache-version}') !!}
{!! Theme::js('js/admin/functions.js?t={cache-version}') !!}
{{-- {!! Theme::js('js/autocomplete.js?t={cache-version}') !!} --}}
<script src="/js/autocomplete.js" type="application/javascript"></script>
@if(Auth::user()->root_admin)
<script>

View file

@ -52,7 +52,7 @@
{!! Theme::js('vendor/jquery/jquery.min.js?t={cache-version}') !!}
{!! Theme::js('vendor/bootstrap/bootstrap.min.js?t={cache-version}') !!}
{{-- {!! Theme::js('js/autocomplete.js?t={cache-version}') !!} --}}
<script src="/js/autocomplete.js" type="application/javascript"></script>
{!! Theme::js('vendor/particlesjs/particles.min.js?t={cache-version}') !!}
<script type="text/javascript">
/* particlesJS.load(@dom-id, @path-json, @callback (optional)); */

View file

@ -274,8 +274,8 @@
<div class="control-sidebar-bg"></div>
</div>
@section('footer-scripts')
{{--{!! Theme::js('js/keyboard.polyfill.js?t={cache-version}') !!}
<script>keyboardeventKeyPolyfill.polyfill();</script>--}}
<script src="/js/keyboard.polyfill.js" type="application/javascript"></script>
<script>keyboardeventKeyPolyfill.polyfill();</script>
{!! Theme::js('vendor/jquery/jquery.min.js?t={cache-version}') !!}
{!! Theme::js('vendor/sweetalert/sweetalert.min.js?t={cache-version}') !!}
@ -284,7 +284,7 @@
{!! Theme::js('vendor/adminlte/app.min.js?t={cache-version}') !!}
{!! Theme::js('vendor/socketio/socket.io.v203.min.js?t={cache-version}') !!}
{!! Theme::js('vendor/bootstrap-notify/bootstrap-notify.min.js?t={cache-version}') !!}
{{-- {!! Theme::js('js/autocomplete.js?t={cache-version}') !!} --}}
<script src="/js/autocomplete.js" type="application/javascript"></script>
@if(Auth::user()->root_admin)
<script>