Compare commits
2 Commits
fd3487f9b0
...
b5c8e41e78
Author | SHA1 | Date | |
---|---|---|---|
b5c8e41e78 | |||
a69049c4ff |
@ -89,6 +89,18 @@
|
|||||||
});
|
});
|
||||||
</script>
|
</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'))
|
@if(file_exists('js/custom.js'))
|
||||||
<!-- Any Custom JS -->
|
<!-- Any Custom JS -->
|
||||||
<script src="{{ asset('js/custom.js') }}"></script>
|
<script src="{{ asset('js/custom.js') }}"></script>
|
||||||
|
@ -252,7 +252,7 @@ class CustomBladeServiceProvider extends ServiceProvider
|
|||||||
$key = $type.':'.$option;
|
$key = $type.':'.$option;
|
||||||
switch ($option) {
|
switch ($option) {
|
||||||
case 'autofocus':
|
case 'autofocus':
|
||||||
$js->put($key,'plugin/select2/fix-autofocus.js');
|
$js->put($key,'/plugin/select2/fix-autofocus.js');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@ -308,7 +308,7 @@ class CustomBladeServiceProvider extends ServiceProvider
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($js->count())
|
if ($js->count())
|
||||||
$return = $return->merge($js->map(fn($item)=>sprintf('<script type="text/javascript" src="%s">',$item)));
|
$return = $return->merge($js->map(fn($item)=>sprintf('<script type="text/javascript" src="%s"></script>',$item)));
|
||||||
|
|
||||||
if ($css->count())
|
if ($css->count())
|
||||||
$return = $return->merge($css->map(fn($item)=>sprintf('<link rel="stylesheet" href="%s">',$item)));
|
$return = $return->merge($css->map(fn($item)=>sprintf('<link rel="stylesheet" href="%s">',$item)));
|
||||||
|
Loading…
Reference in New Issue
Block a user