mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/16414] setup xo for use in future
PHPBB3-16414
This commit is contained in:
@@ -1,20 +1,18 @@
|
||||
/* global phpbb */
|
||||
|
||||
(function($) { // Avoid conflicts with other libraries
|
||||
(function ($) { // Avoid conflicts with other libraries
|
||||
'use strict';
|
||||
|
||||
'use strict';
|
||||
$('#tz_date').change(() => {
|
||||
phpbb.timezoneSwitchDate(false);
|
||||
});
|
||||
|
||||
$('#tz_date').change(function() {
|
||||
phpbb.timezoneSwitchDate(false);
|
||||
});
|
||||
|
||||
$('#tz_select_date_suggest').click(function(){
|
||||
phpbb.timezonePreselectSelect(true);
|
||||
});
|
||||
|
||||
$(function () {
|
||||
phpbb.timezoneEnableDateSelection();
|
||||
phpbb.timezonePreselectSelect($('#tz_select_date_suggest').attr('timezone-preselect') === 'true');
|
||||
});
|
||||
$('#tz_select_date_suggest').click(() => {
|
||||
phpbb.timezonePreselectSelect(true);
|
||||
});
|
||||
|
||||
$(() => {
|
||||
phpbb.timezoneEnableDateSelection();
|
||||
phpbb.timezonePreselectSelect($('#tz_select_date_suggest').attr('timezone-preselect') === 'true');
|
||||
});
|
||||
})(jQuery); // Avoid conflicts with other libraries
|
||||
|
Reference in New Issue
Block a user