MyBB Community Forums

Full Version: Loading of css3.css
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Whenever css3.css stylesheet is empty, it is still loaded by the browser. Since we can't remove it from the theme's stylesheet-list(only revert it), wouldn't it be better to check if the file wasn't empty, then add it to the list of stylesheets to be loaded. 

There would be less trips to the server that way. 


(Why did you(the team) even decide to keep all css3 code in a separate file)
I can confirm, it's annoying. The only way around it is attaching the stylesheet to a non-existent page. I think admins should be able to stop the automatic inheritance of unused stylesheets with a more user-friendly option.
This doesn't only apply to css3 - it should be checked for all stylesheets and only non-empty ones should be included.
Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/2108

Thanks for contributing to MyBB!

Regards,
The MyBB Group