Compare commits

..

No commits in common. "b5c8e41e780344cd29c605090d5498aaad716d89" and "fd3487f9b003018515bb8cdbfac32c54975fd8a7" have entirely different histories.

2 changed files with 2 additions and 14 deletions

View File

@ -89,18 +89,6 @@
});
</script>
<script type="text/javascript">
$(document).ready(function() {
$('body')
.addClass('sidebar-collapse')
.delay(500)
.queue(function () {
window.dispatchEvent(new Event('resize'));
$(this).dequeue();
});
});
</script>
@if(file_exists('js/custom.js'))
<!-- Any Custom JS -->
<script src="{{ asset('js/custom.js') }}"></script>

View File

@ -252,7 +252,7 @@ class CustomBladeServiceProvider extends ServiceProvider
$key = $type.':'.$option;
switch ($option) {
case 'autofocus':
$js->put($key,'/plugin/select2/fix-autofocus.js');
$js->put($key,'plugin/select2/fix-autofocus.js');
break;
default:
@ -308,7 +308,7 @@ class CustomBladeServiceProvider extends ServiceProvider
}
if ($js->count())
$return = $return->merge($js->map(fn($item)=>sprintf('<script type="text/javascript" src="%s"></script>',$item)));
$return = $return->merge($js->map(fn($item)=>sprintf('<script type="text/javascript" src="%s">',$item)));
if ($css->count())
$return = $return->merge($css->map(fn($item)=>sprintf('<link rel="stylesheet" href="%s">',$item)));