mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- fixed Install Info settings section on PHP7.1;
- 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;
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
(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 );
|
||||
Reference in New Issue
Block a user