Ajout d'une extension
This commit is contained in:
13
ext/phpbbstudio/aps/adm/style/js/aps_common.js
Normal file
13
ext/phpbbstudio/aps/adm/style/js/aps_common.js
Normal file
@@ -0,0 +1,13 @@
|
||||
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',
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user