mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- remove wrong code
This commit is contained in:
@@ -89,17 +89,3 @@ registerBlockType('um-block/um-forms', {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
|
||||
// jQuery(window).on( 'load', function($) {
|
||||
// var observer = new MutationObserver(function(mutations) {
|
||||
// mutations.forEach(function(mutation) {
|
||||
//
|
||||
// jQuery(mutation.addedNodes).find('.um.um-directory').each(function() {
|
||||
// var directory = jQuery(this);
|
||||
// um_ajax_get_members( directory );
|
||||
// });
|
||||
// });
|
||||
// });
|
||||
//
|
||||
// observer.observe(document, {attributes: false, childList: true, characterData: false, subtree:true});
|
||||
// });
|
||||
|
||||
Reference in New Issue
Block a user