DavidBruchmann / typo3_forum

An Extbase-based TYPO3 Extension which is called typo3_forum. This fork is working in TYPO3 Version 8 and under development. Testing, Issue-reports and Pull-requests are welcome!
https://www.tukani.de
GNU General Public License v2.0
2 stars 2 forks source link

[BUGFIX] Remove empty jQuery DOM readiness detection #49

Closed schams-net closed 5 years ago

schams-net commented 5 years ago

jQuery detects if a document is in "ready" state and the page can be manipulated safely. However, an empty jQuery DOM readiness detection is not only pointless, but can cause JavaScript errors/warnings and has an impact on performance.

This update removes these empty jQuery DOM readiness detection.

$(document).ready(function() {
});
DavidBruchmann commented 5 years ago

You like to outsource the whole remaining script as it's always the same? If so, feel free to put it in another issue, I'll merge this first.