[TASK] Streamline and optimize JavaScript in install tool
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Resources / Private / Templates / Action / Tool / LoadExtensions.html
index d48498f..6435359 100644 (file)
        <f:render partial="Action/Tool/ImportantActions/ExtensionCompatibilityTester" arguments="{_all}"/>
        <script type="text/javascript">
                $(function() {
-                       $('button', '#checkExtensions').hide();
-                       $('.t3js-message', '#checkExtensions').hide();
-                       $('.t3js-message-loading', '#checkExtensions').show();
+                       var $container = $('#checkExtensions');
+                       $('button', $container).hide();
+                       $('.t3js-message', $container).hide();
+                       $('.t3js-message-loading', $container).show();
                        TYPO3.Install.ExtensionChecker.checkExtensionsCompatibility(true);
                });
        </script>