mirror of
https://github.com/moodle/moodle.git
synced 2025-07-18 21:01:27 +02:00
3 lines
421 B
JavaScript
3 lines
421 B
JavaScript
define ("core_form/submit",["exports"],function(a){"use strict";Object.defineProperty(a,"__esModule",{value:!0});a.init=void 0;a.init=function init(a){var b=document.getElementById(a);b.form.addEventListener("submit",function(){var a=function(){b.disabled=!0};window.addEventListener("beforeunload",a);setTimeout(function(){window.removeEventListener("beforeunload",a)},0)},!1)}});
|
|
//# sourceMappingURL=submit.min.js.map
|