aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/visitortimezone.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/visitortimezone.js')
-rw-r--r--core/js/visitortimezone.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/core/js/visitortimezone.js b/core/js/visitortimezone.js
deleted file mode 100644
index e6e99ee7e20..00000000000
--- a/core/js/visitortimezone.js
+++ /dev/null
@@ -1,12 +0,0 @@
-/* global jstz */
-$(document).ready(function () {
- $('#timezone-offset').val((-new Date().getTimezoneOffset() / 60));
- $('#timezone').val(jstz.determine().name());
-
- // only enable the submit button once we are sure that the timezone is set
- var $loginForm = $('form[name="login"]');
- if ($loginForm.length) {
- $loginForm.find('input#submit').prop('disabled', false);
- }
- }
-);