Compare commits
No commits in common. "b5c8e41e780344cd29c605090d5498aaad716d89" and "fd3487f9b003018515bb8cdbfac32c54975fd8a7" have entirely different histories.
b5c8e41e78
...
fd3487f9b0
@ -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>
|
||||
|
@ -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)));
|
||||
|
Loading…
Reference in New Issue
Block a user