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

6 lines
129 B
JavaScript
Raw Normal View History

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