aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/cobrands/eastsussex/report-form.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/web/cobrands/eastsussex/report-form.js b/web/cobrands/eastsussex/report-form.js
index 4e01572f7..e61d48b9a 100644
--- a/web/cobrands/eastsussex/report-form.js
+++ b/web/cobrands/eastsussex/report-form.js
@@ -1,11 +1,3 @@
-$(function () {
- setup_anonymous_checkbox( $('#form_sign_in_no') );
- setup_anonymous_checkbox( $('#form-box--logged-in-name') );
- setup_anonymous_checkbox( $('#update_form') );
-
- $('.public-warning').attr({ 'title': 'This information will be be visible to the public on the report' });
-});
-
function setup_anonymous_checkbox (div) {
var label = div.find( '.name-warning' );
checkbox = div.find('input[type=checkbox]');
@@ -20,3 +12,11 @@ function setup_anonymous_checkbox (div) {
}
});
}
+
+$(function () {
+ setup_anonymous_checkbox( $('#form_sign_in_no') );
+ setup_anonymous_checkbox( $('#form-box--logged-in-name') );
+ setup_anonymous_checkbox( $('#update_form') );
+
+ $('.public-warning').attr({ 'title': 'This information will be be visible to the public on the report' });
+});