diff --git a/lemonldap-ng-portal/site/coffee/info.coffee b/lemonldap-ng-portal/site/coffee/info.coffee index 9a80ca25f..51b5b0488 100644 --- a/lemonldap-ng-portal/site/coffee/info.coffee +++ b/lemonldap-ng-portal/site/coffee/info.coffee @@ -5,7 +5,6 @@ _go = 1 stop = () -> _go = 0 - $('#timer').html("..."); $('#divToHide').hide(); go = () -> diff --git a/lemonldap-ng-portal/site/htdocs/static/common/js/info.js b/lemonldap-ng-portal/site/htdocs/static/common/js/info.js index 01f9c46e9..87affa49c 100644 --- a/lemonldap-ng-portal/site/htdocs/static/common/js/info.js +++ b/lemonldap-ng-portal/site/htdocs/static/common/js/info.js @@ -8,7 +8,6 @@ stop = function() { _go = 0; - $('#timer').html("..."); return $('#divToHide').hide(); }; diff --git a/lemonldap-ng-portal/site/htdocs/static/common/js/info.min.js b/lemonldap-ng-portal/site/htdocs/static/common/js/info.min.js index c15ca2100..04ffb94f7 100644 --- a/lemonldap-ng-portal/site/htdocs/static/common/js/info.min.js +++ b/lemonldap-ng-portal/site/htdocs/static/common/js/info.min.js @@ -1 +1 @@ -(function(){var _go,go,i,stop,timer;i=30;_go=1;stop=function(){_go=0;$("#timer").html("...");return $("#divToHide").hide()};go=function(){if(_go){return $("#form").submit()}};timer=function(){var h;h=$("#timer").html();if(i>0){i--}h=h.replace(/\d+/,i);$("#timer").html(h);return window.setTimeout(timer,1e3)};$(document).ready(function(){if(window.datas["activeTimer"]){window.setTimeout(go,3e4);window.setTimeout(timer,1e3)}else{stop}return $("#wait").on("click",function(){return stop()})})}).call(this); \ No newline at end of file +(function(){var _go,go,i,stop,timer;i=30;_go=1;stop=function(){_go=0;return $("#divToHide").hide()};go=function(){if(_go){return $("#form").submit()}};timer=function(){var h;h=$("#timer").html();if(i>0){i--}h=h.replace(/\d+/,i);$("#timer").html(h);return window.setTimeout(timer,1e3)};$(document).ready(function(){if(window.datas["activeTimer"]){window.setTimeout(go,3e4);window.setTimeout(timer,1e3)}else{stop}return $("#wait").on("click",function(){return stop()})})}).call(this); \ No newline at end of file