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

6 lines
129 B
JavaScript
Raw Normal View History

2021-04-30 11:23:26 +02:00
import $ from 'jquery';
$('.disable-after-click').on('click', function() {
$(this).addClass('pointer-events-disabled');
});