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 {
|
||||
static function head($theme) {
|
||||
if (!$theme->item()) {
|
||||
return;
|
||||
}
|
||||
$item = $theme->item();
|
||||
if ( $item && access::can("edit", $item) ) {
|
||||
$theme->css("editcaptured.css");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
|
||||
class editcreation_theme_Core {
|
||||
static function head($theme) {
|
||||
if (!$theme->item()) {
|
||||
return;
|
||||
}
|
||||
$item = $theme->item();
|
||||
if ( $item && access::can("edit", $item) ) {
|
||||
return $theme->css("editcreation.css");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue
Block a user