diff --git a/components/ILIAS/UI/resources/js/MainControls/system_info.js b/components/ILIAS/UI/resources/js/MainControls/system_info.js index dfae4a6f2a38..b12c8e0cb79f 100755 --- a/components/ILIAS/UI/resources/js/MainControls/system_info.js +++ b/components/ILIAS/UI/resources/js/MainControls/system_info.js @@ -1,3 +1,18 @@ +/** + * This file is part of ILIAS, a powerful learning management system + * published by ILIAS open source e-Learning e.V. + * + * ILIAS is licensed with the GPL-3.0, + * see https://www.gnu.org/licenses/gpl-3.0.en.html + * You should have received a copy of said license along with the + * source code, too. + * + * If this is not the case or you just want to try ILIAS, you'll find + * us at: + * https://www.ilias.de + * https://github.com/ILIAS-eLearning + */ + il = il || {}; il.UI = il.UI || {}; il.UI.maincontrols = il.UI.maincontrols || {}; @@ -19,7 +34,7 @@ il.UI.maincontrols = il.UI.maincontrols || {}; maybeShowMoreButton(item, more_button); $(window).resize(() => { if (!calculating) { - maybeShowMoreButton(item); + maybeShowMoreButton(item, more_button); } }); };