diff --git a/plugins/editors/tinymce/tinymce.php b/plugins/editors/tinymce/tinymce.php index 892fd261e5cc6..3f444dea7beb1 100644 --- a/plugins/editors/tinymce/tinymce.php +++ b/plugins/editors/tinymce/tinymce.php @@ -55,7 +55,7 @@ public function onInit() $skindirs = glob(JPATH_ROOT . '/media/editors/tinymce/skins' . '/*', GLOB_ONLYDIR); // Set the selected skin in the current side, front-end or back-end - $side = $app->getClientId() ? 'skin_admin' : 'skin'; + $side = $app->isAdmin() ? 'skin_admin' : 'skin'; if ((int) $this->params->get($side, 0) < count($skindirs)) { $skin = 'skin : "' . basename($skindirs[(int) $this->params->get($side, 0)]) . '",';