/******/ (() => { // webpackBootstrap var __webpack_exports__ = {}; /*!************************************************!*\ !*** ./resources/js/admin/settings/general.js ***! \************************************************/ (function ($) { "use strict"; $('body').on('change', '#heroSection1', function (e) { e.preventDefault(); if (this.checked) { $('#heroSection2').prop('checked', false); } else { $('#heroSection2').prop('checked', false); } }); $('body').on('change', '#heroSection2', function (e) { e.preventDefault(); if (this.checked) { $('#heroSection1').prop('checked', false); } else { $('#heroSection1').prop('checked', false); } }); $('body').on('change', '#loginDeviceLimit', function (e) { e.preventDefault(); var $input = $('.js-device-limit-number'); if (this.checked) { $input.removeClass('d-none'); } else { $input.addClass('d-none'); } }); $('body').on('change', '#allow_instructor_delete_contentSwitch', function (e) { e.preventDefault(); var $input = $('.js-content-delete-method-field'); if (this.checked) { $input.removeClass('d-none'); } else { $input.addClass('d-none'); } }); })(jQuery); /******/ })() ;