Code style updates

This commit is contained in:
simialbi 2022-03-10 23:53:08 +01:00 committed by GitHub
parent b8f12cddd9
commit f7e2942960
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ trait BootstrapWidgetTrait
$id = $this->options['id']; $id = $this->options['id'];
if($this->clientOptions !== false){ if ($this->clientOptions !== false) {
$options = empty($this->clientOptions) ? '' : Json::htmlEncode($this->clientOptions); $options = empty($this->clientOptions) ? '' : Json::htmlEncode($this->clientOptions);
$js = "jQuery('#$id').$name($options);"; $js = "jQuery('#$id').$name($options);";
$view->registerJs($js); $view->registerJs($js);