mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-21 14:59:46 +02:00
Additionally, the editor.js files are now the same file in both subsilver2, prosilver, and the acp. PHPBB3-11314
22 lines
468 B
JavaScript
22 lines
468 B
JavaScript
(function($) { // Avoid conflicts with other libraries
|
|
|
|
"use strict";
|
|
|
|
$('#tz_date').change(function() {
|
|
phpbb.timezoneSwitchDate(false);
|
|
});
|
|
|
|
$('#tz_select_date_suggest').click(function(){
|
|
phpbb.timezonePreselectSelect(true);
|
|
});
|
|
|
|
$(document).ready(
|
|
phpbb.timezoneEnableDateSelection
|
|
);
|
|
|
|
$(document).ready(
|
|
phpbb.timezonePreselectSelect($('#tz_select_date_suggest').attr('data-is-registration') === 'true')
|
|
);
|
|
|
|
})(jQuery); // Avoid conflicts with other libraries
|