diff options
author | Josh Angell <josh@supercooldesign.co.uk> | 2012-02-21 13:42:01 +0000 |
---|---|---|
committer | Josh Angell <josh@supercooldesign.co.uk> | 2012-02-21 13:42:01 +0000 |
commit | b715d591301d219ffd35a2e8b4680c235fe5e78a (patch) | |
tree | 8ac250b1dc4d64c05a64abddd99b3d69fafac38c /web/js | |
parent | d9c2e50005abea9d5b6d74cb8f2d0c6f59d883a6 (diff) |
Remove old js for email alert box
Signed-off-by: Josh Angell <josh@supercooldesign.co.uk>
Diffstat (limited to 'web/js')
-rw-r--r-- | web/js/fixmystreet.js | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/web/js/fixmystreet.js b/web/js/fixmystreet.js index 10390f40e..005693fd3 100644 --- a/web/js/fixmystreet.js +++ b/web/js/fixmystreet.js @@ -181,32 +181,6 @@ $(function(){ $('#form_name').addClass('required').removeClass('valid'); } ); - $('#email_alert').click(function(e) { - if (!$('#email_alert_box').length) { - return true; - } - e.preventDefault(); - if ($('#email_alert_box').is(':visible')) { - email_alert_close(); - } else { - var pos = $(this).position(); - $('#email_alert_box').css( { 'left': ( pos.left - 20 ) + 'px', 'top': ( pos.top + 20 ) + 'px' } ); - $('#email_alert_box').show('fast'); - $('#alert_rznvy').focus(); - } - }).hover(function() { - window.clearTimeout(timer); - }, function() { - timer = window.setTimeout(email_alert_close, 2000); - }); - - $('#email_alert_box').hover(function() { - window.clearTimeout(timer); - }, function() { - timer = window.setTimeout(email_alert_close, 2000); - }); - - $('#form_category').change( form_category_onchange ); // Geolocation |