1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-21 14:59:46 +02:00
Marc Alexander 36168b311e [ticket/11314] Fix issues mentioned in jshint report
Additionally, the editor.js files are now the same file in both
subsilver2, prosilver, and the acp.

PHPBB3-11314
2013-03-26 10:31:28 +01:00

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