diff --git a/modules/homeslider/js/jquery.bxSlider.min.js b/modules/homeslider/js/jquery.bxSlider.min.js index 3d1d50460..a214174f4 100755 --- a/modules/homeslider/js/jquery.bxSlider.min.js +++ b/modules/homeslider/js/jquery.bxSlider.min.js @@ -1,4 +1,5 @@ /** + * WARNING : library has been patched (search for START PATCH tag) from base version 3.0 to fix an error with IE < 9 * jQuery bxSlider v3.0 * http://bxslider.com * @@ -111,4 +112,4 @@ while(loopLength>0){$.each(array,function(index,val){if(loopLength>0){if(!startP return sample;} this.each(function(){base.initShow();});return this;} jQuery.fx.prototype.cur=function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop];} -var r=parseFloat(jQuery.css(this.elem,this.prop));return r;}})(jQuery); \ No newline at end of file +var r=parseFloat(jQuery.css(this.elem,this.prop));/* START PATCH Patch applied on top of library version 3.0 (see https://github.com/wandoledzep/bxslider/issues/89) Empty strings, null, undefined and "auto" are converted to 0, complex values such as "rotate(1rad)" are returned as is, simple values such as "10px" are parsed to Float.*/return isNaN(parsed = parseFloat(r)) ? !r || r === "auto" ? 0 : r : parsed;/* END PATCH - BEFORE PATCH WAS return r; */}})(jQuery); \ No newline at end of file