Animate It! - Version 1.3.2

Version Description

Download this release

Release Info

Developer eleopard
Plugin Icon 128x128 Animate It!
Version 1.3.2
Comparing to
See all releases

Code changes from version 1.3.1 to 1.3.2

Files changed (3) hide show
  1. assets/js/edsanimate.js +9 -1
  2. edsanimate.php +1 -1
  3. readme.txt +5 -1
assets/js/edsanimate.js CHANGED
@@ -106,13 +106,21 @@
106
  return removeClassList;
107
  });
108
 
 
109
  $module.hover(
110
  function (){
 
111
  $(this).removeClass(classesToAdd).addClass(classesToAdd).one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function(){
112
  $(this).removeClass(classesToAdd);
113
  });
114
  },
115
- function (){
 
 
 
 
 
 
116
  }
117
  );
118
 
106
  return removeClassList;
107
  });
108
 
109
+ var hovered = false;
110
  $module.hover(
111
  function (){
112
+ hovered = true;
113
  $(this).removeClass(classesToAdd).addClass(classesToAdd).one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function(){
114
  $(this).removeClass(classesToAdd);
115
  });
116
  },
117
+ function (){
118
+ hovered = false;
119
+ $(this).on('webkitAnimationIteration oanimationiteration msAnimationiteration animationiteration', function(e){
120
+ if(!hovered){
121
+ $(this).removeClass(classesToAdd);
122
+ }
123
+ });
124
  }
125
  );
126
 
edsanimate.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Animate It!
4
  * Plugin URI: http://www.eleopard.in
5
  * Description: It will allow user to add CSS Animations
6
- * Version: 1.3.1
7
  * Author: eLEOPARD Design Studios
8
  * Author URI: http://www.eleopard.in
9
  * License: GNU General Public License version 2 or later; see LICENSE.txt
3
  * Plugin Name: Animate It!
4
  * Plugin URI: http://www.eleopard.in
5
  * Description: It will allow user to add CSS Animations
6
+ * Version: 1.3.2
7
  * Author: eLEOPARD Design Studios
8
  * Author URI: http://www.eleopard.in
9
  * License: GNU General Public License version 2 or later; see LICENSE.txt
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: eleopard
3
  Tags: css3 animation, animate.css, jquery, on scroll animation, delay animation
4
  Requires at least: 3.0
5
  Tested up to: 4.0
6
- Stable tag: 1.3.1
7
  License: GNU General Public License version 2 or later
8
  License URI: http://www.gnu.org/copyleft/gpl.html
9
 
@@ -64,6 +64,10 @@ Percentage scroll offset can be set from Settings-> Animate It! menu in the admi
64
 
65
  == Changelog ==
66
 
 
 
 
 
67
  = Version 1.3.1 =
68
  * Resolved issue related to widget content update and save.
69
 
3
  Tags: css3 animation, animate.css, jquery, on scroll animation, delay animation
4
  Requires at least: 3.0
5
  Tested up to: 4.0
6
+ Stable tag: 1.3.2
7
  License: GNU General Public License version 2 or later
8
  License URI: http://www.gnu.org/copyleft/gpl.html
9
 
64
 
65
  == Changelog ==
66
 
67
+ = Version 1.3.2 =
68
+ * Resolved issue related to infinite animation and on hover combination.
69
+
70
+
71
  = Version 1.3.1 =
72
  * Resolved issue related to widget content update and save.
73