1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/10949] Converted missing code to new JS coding guidelines

A few missing semi-colons were also added where needed.

PHPBB3-10949
This commit is contained in:
Marc Alexander
2013-01-04 22:46:12 +01:00
parent 46c33e08b5
commit b5cc1ed683
6 changed files with 89 additions and 97 deletions

View File

@@ -1,19 +1,19 @@
(function($) { // Avoid conflicts with other libraries
$('#tz_date').change(function() {
phpbb.timezone_switch_date(false);
phpbb.timezoneSwitchDate(false);
});
$('#tz_select_date_suggest').click(function(){
phpbb.timezone_preselect_select(true);
phpbb.timezonePreselectSelect(true);
});
$(document).ready(
phpbb.timezone_enable_date_selection
phpbb.timezoneEnableDateSelection
);
$(document).ready(
phpbb.timezone_preselect_select($('#tz_select_date_suggest').attr('data-is-registration') == 'true')
phpbb.timezonePreselectSelect($('#tz_select_date_suggest').attr('data-is-registration') == 'true')
);
})(jQuery); // Avoid conflicts with other libraries