2017-01-19 22:48:07 +01:00
|
|
|
// Generated by CoffeeScript 1.10.0
|
|
|
|
(function() {
|
|
|
|
var go, i, timer;
|
2014-02-06 17:48:02 +01:00
|
|
|
|
2017-01-19 22:48:07 +01:00
|
|
|
i = 5;
|
2014-02-06 17:48:02 +01:00
|
|
|
|
2017-01-19 22:48:07 +01:00
|
|
|
go = function() {
|
|
|
|
return $("#form").submit();
|
|
|
|
};
|
2014-02-06 17:48:02 +01:00
|
|
|
|
2017-01-19 22:48:07 +01:00
|
|
|
timer = function() {
|
|
|
|
var h;
|
|
|
|
h = $('#timer').html();
|
|
|
|
if (i > 0) {
|
|
|
|
i--;
|
|
|
|
}
|
|
|
|
h = h.replace(/\d+/, i);
|
|
|
|
$('#timer').html(h);
|
|
|
|
return setTimeout(timer, 1000);
|
|
|
|
};
|
2014-02-06 17:48:02 +01:00
|
|
|
|
2017-01-19 22:48:07 +01:00
|
|
|
$(document).ready(function() {
|
|
|
|
setTimeout(go, 5000);
|
|
|
|
setTimeout(timer, 1000);
|
|
|
|
$(".idploop").on('click', function() {
|
|
|
|
return $("#idp").val($(this).attr("val"));
|
|
|
|
});
|
|
|
|
return $("#refuse").on('click', function() {
|
|
|
|
return $("#confirm").attr("value", $(this).attr("val"));
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
}).call(this);
|