We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0e0c7f commit d5f2eb7Copy full SHA for d5f2eb7
lib/WeBWorK/ContentGenerator/Problem.pm
@@ -2285,7 +2285,10 @@ sub output_CSS {
2285
# or via a setting of $ce->{pg}->{specialPGEnvironmentVars}->{extra_css_files}
2286
# which can be set in course.conf (the value should be an anon array).
2287
my $pg = $self->{pg};
2288
- if ( defined( $pg->{flags}{extra_css_files} ) ) {
+ if ( defined( $pg->{flags}{extra_css_files} ) ||
2289
+ ( defined( $ce->{pg}->{specialPGEnvironmentVars}->{extra_css_files} ) &&
2290
+ scalar( @{$ce->{pg}->{specialPGEnvironmentVars}->{extra_css_files}} ) > 0 )
2291
+ ) {
2292
my $baseDir = $ce->{webwork_htdocs_url};
2293
my $webwork_dir = $WeBWorK::Constants::WEBWORK_DIRECTORY;
2294
my $cssFile;
0 commit comments