Elementor Addons & Templates – Sizzify Lite - Version 1.1.3

Version Description

  • 2017-11-17
Download this release

Release Info

Developer themeisle
Plugin Icon wp plugin Elementor Addons & Templates – Sizzify Lite
Version 1.1.3
Comparing to
See all releases

Code changes from version 1.1.2 to 1.1.3

CHANGELOG.md CHANGED
@@ -1,7 +1,7 @@
1
 
2
- ### v1.1.2 - 2017-11-16
3
  **Changes:**
4
- * Tested up to 4.9.
5
 
6
  ### v1.1.2 - 2017-11-16
7
  **Changes:**
1
 
2
+ ### v1.1.3 - 2017-11-17
3
  **Changes:**
4
+ * Fixed javascript error on front end.
5
 
6
  ### v1.1.2 - 2017-11-16
7
  **Changes:**
eaw-class.php CHANGED
@@ -106,7 +106,7 @@ class Elementor_Addon_Widgets {
106
 
107
  public function enqueue_elementor() {
108
  // Add custom JS for grid.
109
- wp_enqueue_script( 'obfx-grid-js', plugins_url( '/widgets/elementor/js/obfx-grid.js', __FILE__ ), array(), '1.0', true );
110
  }
111
 
112
  /**
106
 
107
  public function enqueue_elementor() {
108
  // Add custom JS for grid.
109
+ wp_enqueue_script( 'obfx-grid-js', plugins_url( '/widgets/elementor/js/obfx-grid.js', __FILE__ ), array(), EA_VERSION, true );
110
  }
111
 
112
  /**
elementor-addon-widgets.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Elementor Addons & Widgets
4
  * Plugin URI: https://themeisle.com/
5
  * Description: Adds new Addons & Widgets that are specifically designed to be used in conjunction with the Elementor Page Builder.
6
- * Version: 1.1.2
7
  * Author: ThemeIsle
8
  * Author URI: https://themeisle.com/
9
  * Requires at least: 4.4
@@ -23,7 +23,7 @@ Constants
23
  ------------------------------------------ */
24
 
25
  /* Set plugin version constant. */
26
- define( 'EA_VERSION', '1.1.2' );
27
 
28
  /* Set constant path to the plugin directory. */
29
  define( 'EA_PATH', trailingslashit( plugin_dir_path( __FILE__ ) ) );
3
  * Plugin Name: Elementor Addons & Widgets
4
  * Plugin URI: https://themeisle.com/
5
  * Description: Adds new Addons & Widgets that are specifically designed to be used in conjunction with the Elementor Page Builder.
6
+ * Version: 1.1.3
7
  * Author: ThemeIsle
8
  * Author URI: https://themeisle.com/
9
  * Requires at least: 4.4
23
  ------------------------------------------ */
24
 
25
  /* Set plugin version constant. */
26
+ define( 'EA_VERSION', '1.1.3' );
27
 
28
  /* Set constant path to the plugin directory. */
29
  define( 'EA_PATH', trailingslashit( plugin_dir_path( __FILE__ ) ) );
readme.md CHANGED
@@ -61,6 +61,11 @@ See this [issue #495](https://github.com/pojome/elementor/issues/495) for curren
61
  4. Frontend view posts with custom title.
62
 
63
  ## Changelog ##
 
 
 
 
 
64
  ### 1.1.2 - 2017-11-16 ###
65
 
66
  * Added three new Elementor native widgets.
61
  4. Frontend view posts with custom title.
62
 
63
  ## Changelog ##
64
+ ### 1.1.3 - 2017-11-17 ###
65
+
66
+ * Fixed javascript error on front end.
67
+
68
+
69
  ### 1.1.2 - 2017-11-16 ###
70
 
71
  * Added three new Elementor native widgets.
readme.txt CHANGED
@@ -61,6 +61,11 @@ See this [issue #495](https://github.com/pojome/elementor/issues/495) for curren
61
  4. Frontend view posts with custom title.
62
 
63
  == Changelog ==
 
 
 
 
 
64
  = 1.1.2 - 2017-11-16 =
65
 
66
  * Added three new Elementor native widgets.
61
  4. Frontend view posts with custom title.
62
 
63
  == Changelog ==
64
+ = 1.1.3 - 2017-11-17 =
65
+
66
+ * Fixed javascript error on front end.
67
+
68
+
69
  = 1.1.2 - 2017-11-16 =
70
 
71
  * Added three new Elementor native widgets.
widgets/elementor/js/obfx-grid.js CHANGED
@@ -14,24 +14,26 @@
14
  }
15
  );
16
 
17
- $( window ).on(
18
- 'elementor/frontend/init', function () {
19
- elementor.hooks.addAction(
20
- 'panel/open_editor/widget/obfx-posts-grid', function (panel) {
21
- var $element = panel.$el.find( '.elementor-control-section_grid_image' );
22
- $element.click(
23
- function() {
24
- panel.$el.find( '.elementor-control-grid_image_height .elementor-control-input-wrapper' ).mouseup(
25
- function() {
26
- checkImageSize();
27
- }
28
- );
29
- }
30
- );
31
- }
32
- );
33
- }
34
- );
 
 
35
 
36
  /**
37
  * Check the container and image size.
14
  }
15
  );
16
 
17
+ if ( typeof elementor !== 'undefined' ) {
18
+ $(window).on(
19
+ 'elementor/frontend/init', function () {
20
+ elementor.hooks.addAction(
21
+ 'panel/open_editor/widget/obfx-posts-grid', function (panel) {
22
+ var $element = panel.$el.find('.elementor-control-section_grid_image');
23
+ $element.click(
24
+ function () {
25
+ panel.$el.find('.elementor-control-grid_image_height .elementor-control-input-wrapper').mouseup(
26
+ function () {
27
+ checkImageSize();
28
+ }
29
+ );
30
+ }
31
+ );
32
+ }
33
+ );
34
+ }
35
+ );
36
+ }
37
 
38
  /**
39
  * Check the container and image size.