(function () {
  'use strict';

  /**
   * @copyright  (C) 2019 Open Source Matters, Inc. <https://www.joomla.org>
   * @license    GNU General Public License version 2 or later; see LICENSE.txt
   */

  window.addEventListener('DOMContentLoaded', function () {
    var versionsModal = document.getElementById('versionsModal');
    if (versionsModal) {
      document.body.appendChild(versionsModal);
    }
  });

})();
