Always add the editcaptured and editcreation CSS files
This commit is contained in:
parent
e15e2a106c
commit
c022a0af59
@ -20,12 +20,6 @@
|
|||||||
|
|
||||||
class editcaptured_theme_Core {
|
class editcaptured_theme_Core {
|
||||||
static function head($theme) {
|
static function head($theme) {
|
||||||
if (!$theme->item()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
$item = $theme->item();
|
|
||||||
if ( $item && access::can("edit", $item) ) {
|
|
||||||
$theme->css("editcaptured.css");
|
$theme->css("editcaptured.css");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -20,12 +20,6 @@
|
|||||||
|
|
||||||
class editcreation_theme_Core {
|
class editcreation_theme_Core {
|
||||||
static function head($theme) {
|
static function head($theme) {
|
||||||
if (!$theme->item()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
$item = $theme->item();
|
|
||||||
if ( $item && access::can("edit", $item) ) {
|
|
||||||
return $theme->css("editcreation.css");
|
return $theme->css("editcreation.css");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user