Clean unuseful code (#1443)

environments/ppa-mbqj77/deployments/10^2
Christophe Maudoux 7 years ago
parent a915009c63
commit baf3c602a3
  1. 1
      lemonldap-ng-portal/site/coffee/info.coffee
  2. 1
      lemonldap-ng-portal/site/htdocs/static/common/js/info.js
  3. 2
      lemonldap-ng-portal/site/htdocs/static/common/js/info.min.js

@ -5,7 +5,6 @@ _go = 1
stop = () ->
_go = 0
$('#timer').html("...");
$('#divToHide').hide();
go = () ->

@ -8,7 +8,6 @@
stop = function() {
_go = 0;
$('#timer').html("...");
return $('#divToHide').hide();
};

@ -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);
(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);
Loading…
Cancel
Save