mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-04 15:25:33 +00:00
Moved pGenerator script to default layout footer
This fixes an issue where the password generator wouldn’t load in a modal in Chrome
This commit is contained in:
@ -829,6 +829,7 @@
|
||||
|
||||
|
||||
<script src="{{ url(mix('js/dist/all.js')) }}" nonce="{{ csrf_token() }}"></script>
|
||||
<script src="/js/pGenerator.jquery.js"></script>
|
||||
|
||||
@section('moar_scripts')
|
||||
@show
|
||||
|
||||
@ -610,7 +610,6 @@
|
||||
@stop
|
||||
|
||||
@section('moar_scripts')
|
||||
<script src="{{ asset('js/pGenerator.jquery.js') }}"></script>
|
||||
|
||||
<script nonce="{{ csrf_token() }}">
|
||||
$(document).ready(function() {
|
||||
|
||||
Reference in New Issue
Block a user