webseite-grav/plugins/admin/themes/grav/app/pages/page/disable-buttons.js

6 lines
129 B
JavaScript

import $ from 'jquery';
$('.disable-after-click').on('click', function() {
$(this).addClass('pointer-events-disabled');
});