diff options
author | Marc Alexander <admin@m-a-styles.de> | 2013-01-10 11:14:07 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2013-01-10 11:15:19 +0100 |
commit | c31f489cce8fd5d60eb484928221bef0666f3c06 (patch) | |
tree | cb9e844aacf3f39c178115207bc930e194d8d6a0 | |
parent | f7af4eb2e98a70cce267d01828437e205527e47f (diff) | |
download | forums-c31f489cce8fd5d60eb484928221bef0666f3c06.tar forums-c31f489cce8fd5d60eb484928221bef0666f3c06.tar.gz forums-c31f489cce8fd5d60eb484928221bef0666f3c06.tar.bz2 forums-c31f489cce8fd5d60eb484928221bef0666f3c06.tar.xz forums-c31f489cce8fd5d60eb484928221bef0666f3c06.zip |
[ticket/11314] Add missing "use strict" to timezone.js files
PHPBB3-11314
-rw-r--r-- | phpBB/adm/style/timezone.js | 2 | ||||
-rw-r--r-- | phpBB/styles/prosilver/template/timezone.js | 2 | ||||
-rw-r--r-- | phpBB/styles/subsilver2/template/timezone.js | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/adm/style/timezone.js b/phpBB/adm/style/timezone.js index 419d37c34f..b5e27c907c 100644 --- a/phpBB/adm/style/timezone.js +++ b/phpBB/adm/style/timezone.js @@ -1,5 +1,7 @@ (function($) { // Avoid conflicts with other libraries +"use strict"; + $('#tz_date').change(function() { phpbb.timezoneSwitchDate(false); }); diff --git a/phpBB/styles/prosilver/template/timezone.js b/phpBB/styles/prosilver/template/timezone.js index af8206d12d..b0e8a38366 100644 --- a/phpBB/styles/prosilver/template/timezone.js +++ b/phpBB/styles/prosilver/template/timezone.js @@ -1,5 +1,7 @@ (function($) { // Avoid conflicts with other libraries +"use strict"; + $('#tz_date').change(function() { phpbb.timezoneSwitchDate(false); }); diff --git a/phpBB/styles/subsilver2/template/timezone.js b/phpBB/styles/subsilver2/template/timezone.js index af8206d12d..b0e8a38366 100644 --- a/phpBB/styles/subsilver2/template/timezone.js +++ b/phpBB/styles/subsilver2/template/timezone.js @@ -1,5 +1,7 @@ (function($) { // Avoid conflicts with other libraries +"use strict"; + $('#tz_date').change(function() { phpbb.timezoneSwitchDate(false); }); |