CustomBladeService fixing issues introduced in previous commit
This commit is contained in:
parent
a69049c4ff
commit
b5c8e41e78
@ -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