mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-26 21:13:50 +01:00
20 lines
461 B
JavaScript
20 lines
461 B
JavaScript
(function($) { // Avoid conflicts with other libraries
|
|
|
|
$('#tz_date').change(function() {
|
|
phpbb.timezone_switch_date(false);
|
|
});
|
|
|
|
$('#tz_select_date_suggest').click(function(){
|
|
phpbb.timezone_preselect_select(true);
|
|
});
|
|
|
|
$(document).ready(
|
|
phpbb.timezone_enable_date_selection
|
|
);
|
|
|
|
$(document).ready(
|
|
phpbb.timezone_preselect_select($('#tz_select_date_suggest').attr('data-is-registration') == 'true')
|
|
);
|
|
|
|
})(jQuery); // Avoid conflicts with other libraries
|