mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-03 21:54:07 +09:00
Apply PHP Code Styling & Quality Changes (#3628)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
This commit is contained in:
1 parent
8c67932831
commit
be71ae3138
1 file changed
+13
-13
@@ -286,20 +286,20 @@ class FOSSBillingExtension
|
||||
$this->stylesheetTag($this->publicAssetUrl('editor/ckeditor.css')),
|
||||
$this->scriptTag($this->publicAssetUrl('editor/ckeditor.js')),
|
||||
<<<HTML
|
||||
<script>
|
||||
FOSSBilling.ready(function () {
|
||||
FOSSBilling.editor.init({$selectorJson}, {$optionsJson});
|
||||
<script>
|
||||
FOSSBilling.ready(function () {
|
||||
FOSSBilling.editor.init({$selectorJson}, {$optionsJson});
|
||||
|
||||
if (document.documentElement.getAttribute('data-bs-theme') === 'dark' || localStorage.getItem('theme') === 'dark') {
|
||||
setTimeout(function () {
|
||||
document.querySelectorAll('.ck-editor__main').forEach(function (element) {
|
||||
element.style.color = '#1d273b';
|
||||
});
|
||||
}, 1000);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
HTML,
|
||||
if (document.documentElement.getAttribute('data-bs-theme') === 'dark' || localStorage.getItem('theme') === 'dark') {
|
||||
setTimeout(function () {
|
||||
document.querySelectorAll('.ck-editor__main').forEach(function (element) {
|
||||
element.style.color = '#1d273b';
|
||||
});
|
||||
}, 1000);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
HTML,
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user