Files
san-reymoros/ext/phpbbstudio/aps/adm/style/js/aps_common.js
2020-04-04 18:27:27 +02:00

14 lines
359 B
JavaScript

jQuery(function($) {
$('.aps-names-toggle').on('click', function() {
$(this).parents('fieldset').toggleClass('aps-points-full');
let altText = $(this).data('text');
$(this).data('text', $(this).text()).text(altText);
});
$('#aps_points_icon').iconpicker({
collision: true,
placement: 'bottomRight',
component: '#aps_points_icon + i',
});
});