Files
ultimatemember/assets/js/um-gdpr.js
T
nikitozzzzzzz 8414586f45 - 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;
2018-05-22 11:17:18 +03:00

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 );