Mini Shell
/**
* Theme LearnR - JS code infobanner
*
* @module theme_learnr/infobanner
* @copyright 2022 Alexander Bias, lern.link GmbH <[email protected]>
* @copyright on behalf of Zurich University of Applied Sciences (ZHAW)
* @copyright based on code from theme_boost_campus by Kathrin Osswald.
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
define("theme_learnr/infobanner",["jquery"],(function($){return{init:function(){$(".themeboostunioninfobanner .close").on("click",(function(){var infobannerno=$(this).attr("data-infobanner-no");M.util.set_user_preference("theme_learnr_infobanner"+infobannerno+"_dismissed",!0)}))}}}));
//# sourceMappingURL=infobanner.min.js.map
Zerion Mini Shell 1.0