mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
8414586f45
- GDPR compatibility; - added support for GDPR Personal Data Exporter; - added support for GDPR Personal Data Eraser; - added feature: New privacy field to form builder for GDPR consent collection; - added GDPR privacy policy guide text;
23 lines
402 B
JavaScript
23 lines
402 B
JavaScript
(function( $ ) {
|
|
'use strict';
|
|
|
|
$(document).on('click', "a.um-toggle-gdpr" ,function() {
|
|
|
|
var me = jQuery(this);
|
|
|
|
$( ".um-gdpr-content" ).toggle( "fast", function() {
|
|
if( $( ".um-gdpr-content" ).is(':visible') ){
|
|
me.text( me.data('toggle-hide') );
|
|
}
|
|
|
|
if( $( ".um-gdpr-content" ).is(':hidden') ){
|
|
me.text( me.data('toggle-show') );
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
})( jQuery );
|