diff --git a/bl-plugins/quill/plugin.php b/bl-plugins/quill/plugin.php index 583b093b..7a7076de 100644 --- a/bl-plugins/quill/plugin.php +++ b/bl-plugins/quill/plugin.php @@ -56,7 +56,7 @@ class pluginQuill extends Plugin { $html .= 'getDbField('autosave')?'checked':'').'>'; $html .= ''; $html .= ''; - + $html .= '
'; $html .= ''; $html .= 'getDbField('spellChecker')?'checked':'').'>'; @@ -72,43 +72,25 @@ class pluginQuill extends Plugin { global $Language; $html = ''; - // Load CSS and JS only on Controllers in array. - if(in_array($layout['controller'], $this->loadWhenController)) - { + if( $this->enabled() ) { $html .= ' '; } return $html; } -} +} \ No newline at end of file