2 parents 0ea66a6 + 95c9db8 commit 2e23488Copy full SHA for 2e23488
1 file changed
src/Assets.php
@@ -34,7 +34,7 @@ public function __construct(PluginProperties $pluginProperties)
34
*/
35
public function enqueueScripts()
36
{
37
- if ('post' !== get_current_screen()->base) {
+ if (!is_admin()) {
38
return;
39
}
40
@@ -56,9 +56,9 @@ public function enqueueScripts()
56
57
public function enqueueStyles()
58
59
60
61
- }
+ }
62
63
$styleFile = '/assets/css/global-media.css';
64
wp_register_style(
0 commit comments