Files
san-reymoros/styles/prosilver/template/timezone.js
Gauvain Boiché 5e4c5f9418 Ajout du FR
Ajout du FR + correction du "functions.php"
2020-03-30 14:52:34 +02:00

21 lines
465 B
JavaScript

/* global phpbb */
(function($) { // Avoid conflicts with other libraries
'use strict';
$('#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');
});
})(jQuery); // Avoid conflicts with other libraries