mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-15 20:53:39 +09:00
- #1420 issue fix;
This commit is contained in:
+6
-1
@@ -73,7 +73,12 @@ UM.common = {
|
||||
format: elem.attr( 'data-format' ),
|
||||
formatSubmit: 'yyyy/mm/dd',
|
||||
hiddenName: true,
|
||||
onOpen: function() { elem.blur(); },
|
||||
onOpen: function() {
|
||||
elem.blur();
|
||||
if ( elem.parents('body').hasClass('wp-admin') ) {
|
||||
elem.siblings('.picker').find('.picker__button--close').addClass('button')
|
||||
}
|
||||
},
|
||||
onClose: function() { elem.blur(); }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user