mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-20 15:13:55 +09:00
Update 1.2.92
This commit is contained in:
@@ -770,16 +770,22 @@ function remove_Modal() {
|
||||
function show_Modal( contents ) {
|
||||
if ( jQuery('.um-popup-overlay').length ) {
|
||||
jQuery('.um-popup').removeClass('loading').html( contents );
|
||||
jQuery('.um-popup').mCustomScrollbar({
|
||||
theme:"dark-3"
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function responsive_Modal() {
|
||||
if ( jQuery('.um-popup-overlay').length ) {
|
||||
jQuery('.um-popup').css({
|
||||
'max-height': ( 80 / 100 ) * jQuery(window).height() + 'px'
|
||||
|
||||
ag_height = jQuery(window).height() - jQuery('.um-popup-header').outerHeight() - jQuery('.um-popup-footer').outerHeight() - 40;
|
||||
if ( ag_height > 350 ) {
|
||||
ag_height = 350;
|
||||
}
|
||||
|
||||
jQuery('.um-popup-autogrow').css({
|
||||
'height': ag_height + 'px'
|
||||
});
|
||||
jQuery('.um-popup-autogrow').mCustomScrollbar({
|
||||
theme:"dark-3"
|
||||
}).mCustomScrollbar("scrollTo", "bottom",{ scrollInertia:0});
|
||||
}
|
||||
}
|
||||
@@ -6,7 +6,7 @@ jQuery(window).load(function() {
|
||||
});
|
||||
|
||||
jQuery(window).resize(function() {
|
||||
|
||||
responsive_Modal();
|
||||
jQuery('.um-modal .um-single-image-preview.crop:visible img').cropper("destroy");
|
||||
|
||||
um_responsive();
|
||||
|
||||
@@ -25,10 +25,10 @@ jQuery(document).ready(function() {
|
||||
jQuery(this).parents( parent ).find( child ).trigger('click');
|
||||
});
|
||||
|
||||
jQuery('.um-tip-n').tipsy({gravity: 'n', opacity: 1, live: 'a.live', offset: 3 });
|
||||
jQuery('.um-tip-w').tipsy({gravity: 'w', opacity: 1, live: 'a.live', offset: 3 });
|
||||
jQuery('.um-tip-e').tipsy({gravity: 'e', opacity: 1, live: 'a.live', offset: 3 });
|
||||
jQuery('.um-tip-s').tipsy({gravity: 's', opacity: 1, live: 'a.live', offset: 3 });
|
||||
jQuery('.um-tip-n').tipsy({gravity: 'n', opacity: 1, live: 'a.live', offset: 3, delayIn: 500 });
|
||||
jQuery('.um-tip-w').tipsy({gravity: 'w', opacity: 1, live: 'a.live', offset: 3, delayIn: 500 });
|
||||
jQuery('.um-tip-e').tipsy({gravity: 'e', opacity: 1, live: 'a.live', offset: 3, delayIn: 500 });
|
||||
jQuery('.um-tip-s').tipsy({gravity: 's', opacity: 1, live: 'a.live', offset: 3, delayIn: 500 });
|
||||
|
||||
jQuery(document).on('change', '.um-field input[type=radio]', function(){
|
||||
var field = jQuery(this).parents('.um-field');
|
||||
|
||||
Vendored
+3
-3
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user