From: Radek Czajka Date: Tue, 14 Jan 2014 13:23:14 +0000 (+0100) Subject: Fix reader. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/a1edf3f1a7cff6e6f4d85a4288ca9b1d5cd3b254 Fix reader. --- diff --git a/apps/wolnelektury_core/static/js/picture.js b/apps/wolnelektury_core/static/js/picture.js index 7c5ff9c39..0c2e35b84 100644 --- a/apps/wolnelektury_core/static/js/picture.js +++ b/apps/wolnelektury_core/static/js/picture.js @@ -230,7 +230,6 @@ return $mark.get(0); }, }); -}(jQuery)); $(document).ready(function() { @@ -249,3 +248,4 @@ $(document).ready(function() { }); +}(jQuery)); diff --git a/apps/wolnelektury_core/static/js/progressSpin.min.js b/apps/wolnelektury_core/static/js/progressSpin.min.js index d87ce8ca6..f7620a200 100644 --- a/apps/wolnelektury_core/static/js/progressSpin.min.js +++ b/apps/wolnelektury_core/static/js/progressSpin.min.js @@ -1 +1 @@ -(function(e){e.fn.progressSpin=function(t){function f(e,t){var i=1-t;var s=Raphael.getRGB(n.activeColor);var o=Raphael.getRGB(n.fillColor);var u=Math.floor(s.r*t+o.r*i);var a=Math.floor(s.g*t+o.g*i);var f=Math.floor(s.b*t+o.b*i);var l=Raphael.rgb(u,a,f);r[e].attr("fill",l)}function l(e){e=e%12;if(e<0){e+=12}return e}if(this.getOptions){return this}var n=e.extend({},e.fn.progressSpin.defaults,t);var r=[];var i=false;var s=null;var o=0;var u=null;var a=this;this.getOptions=function(){return n};this.getVisible=function(){return i};this.getAnimating=function(){return s!=null};this.getCurrentStep=function(){return o};this.setCurrentStep=function(e){if(this.getAnimating()){this.stop(false);o=l(e);this.start()}else{o=l(e)}};this.start=function(){if(this.getAnimating()){}else{this.show();f(o,1);var e=1/(n.tailCount+1);var t=0;var r=n.tailCount;s=setInterval(function(){if(t