Supreme Modules Lite – Divi Theme, Extra Theme and Divi Builder - Version 2.2.4

Version Description

04.06.2020 = * Enhanced: Minify Easy Theme Builder for Header CSS and JS files. * Fixed: Conditional check for Easy Theme Builder for Header when there is no header set in Theme Builder causing frontend JS error.

Download this release

Release Info

Developer divisupreme
Plugin Icon 128x128 Supreme Modules Lite – Divi Theme, Extra Theme and Divi Builder
Version 2.2.4
Comparing to
See all releases

Code changes from version 2.2.3 to 2.2.4

public/js/dsm-easy-tb-vb.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(e){document.documentElement.className="js";navigator.userAgent.match(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/),e("#wpadminbar").height();var d=dsm_easy_tb_js.threshold;e(".dsm_fixed_header").length&&(e(".dsm_fixed_header_auto").length,e(".dsm_fixed_header_shrink").length&&e(window).scroll(function(){e(document).scrollTop()>d?(e(".dsm_fixed_header_shrink").addClass("dsm_fixed_header_shrink_active"),e(".dsm_fixed_header_shrink").addClass("dsm_fixed_header_shrink_active_scrolled")):e(".dsm_fixed_header_shrink").removeClass("dsm_fixed_header_shrink_active")}),e(window).resize(function(){e("body").hasClass("admin-bar")}))});
1
+ jQuery(document).ready(function(e){document.documentElement.className="js";navigator.userAgent.match(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/),e("#wpadminbar").height();var d=dsm_easy_tb_js.threshold;e(".et-l--header").length&&e(".dsm_fixed_header").length&&(e(".dsm_fixed_header_auto").length,e(".dsm_fixed_header_shrink").length&&e(window).scroll(function(){e(document).scrollTop()>d?(e(".dsm_fixed_header_shrink").addClass("dsm_fixed_header_shrink_active"),e(".dsm_fixed_header_shrink").addClass("dsm_fixed_header_shrink_active_scrolled")):e(".dsm_fixed_header_shrink").removeClass("dsm_fixed_header_shrink_active")}),e(window).resize(function(){e("body").hasClass("admin-bar")}))});
public/js/dsm-easy-tb.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(e){document.documentElement.className="js";navigator.userAgent.match(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/),e("#wpadminbar").height();var d,a=dsm_easy_tb_js.threshold;if(e(".dsm_fixed_header").length){var i=(d=0,function(e,a){clearTimeout(d),d=setTimeout(e,a)});e(".dsm_fixed_header_auto").length&&(e("#page-container").addClass("et-animated-content"),e("#page-container").attr("style","padding-top: "+e(".et-l--header").height()+"px !important;")),e(".dsm_fixed_header_shrink").length&&e(window).scroll(function(){e("body").hasClass("admin-bar")&&(!0===window.matchMedia("(max-width: 768px)").matches?e(document).scrollTop()>10?e(".dsm_fixed_header header").css("top","0"):e(".dsm_fixed_header header").css("top",e("#wpadminbar").height()):!0===window.matchMedia("(min-width: 769px)").matches&&e(".dsm_fixed_header header").css("top","")),e(document).scrollTop()>a?(e(".dsm_fixed_header_shrink").addClass("dsm_fixed_header_shrink_active"),e(".dsm_fixed_header_shrink").addClass("dsm_fixed_header_shrink_active_scrolled"),e("#page-container").css("margin-top",-e(".et-l--header").height()/2)):(e(".dsm_fixed_header_shrink").removeClass("dsm_fixed_header_shrink_active"),e("#page-container").css("margin-top","-1px"))}),e(window).resize(function(){i(function(){e(".dsm_fixed_header_auto").length&&e("#page-container").attr("style","padding-top: "+e(".et-l--header").height()+"px !important;"),e("body").hasClass("admin-bar")&&(!0===window.matchMedia("(max-width: 768px)").matches?e(document).scrollTop()>10?e(".dsm_fixed_header header").css("top","0"):e(".dsm_fixed_header header").css("top",e("#wpadminbar").height()):!0===window.matchMedia("(min-width: 769px)").matches&&e(".dsm_fixed_header header").css("top",""))},50)})}});
1
+ jQuery(document).ready(function(e){document.documentElement.className="js";navigator.userAgent.match(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/),e("#wpadminbar").height();var d,a=dsm_easy_tb_js.threshold;if(e(".et-l--header").length&&e(".dsm_fixed_header").length){var i=(d=0,function(e,a){clearTimeout(d),d=setTimeout(e,a)});e(".dsm_fixed_header_auto").length&&(e("#page-container").addClass("et-animated-content"),e("#page-container").attr("style","padding-top: "+e(".et-l--header").height()+"px !important;")),e(".dsm_fixed_header_shrink").length&&e(window).scroll(function(){e("body").hasClass("admin-bar")&&(!0===window.matchMedia("(max-width: 768px)").matches?e(document).scrollTop()>10?e(".dsm_fixed_header header").css("top","0"):e(".dsm_fixed_header header").css("top",e("#wpadminbar").height()):!0===window.matchMedia("(min-width: 769px)").matches&&e(".dsm_fixed_header header").css("top","")),e(document).scrollTop()>a?(e(".dsm_fixed_header_shrink").addClass("dsm_fixed_header_shrink_active"),e(".dsm_fixed_header_shrink").addClass("dsm_fixed_header_shrink_active_scrolled"),e("#page-container").css("margin-top",-e(".et-l--header").height()/2)):(e(".dsm_fixed_header_shrink").removeClass("dsm_fixed_header_shrink_active"),e("#page-container").css("margin-top","-1px"))}),e(window).resize(function(){i(function(){e(".dsm_fixed_header_auto").length&&e("#page-container").attr("style","padding-top: "+e(".et-l--header").height()+"px !important;"),e("body").hasClass("admin-bar")&&(!0===window.matchMedia("(max-width: 768px)").matches?e(document).scrollTop()>10?e(".dsm_fixed_header header").css("top","0"):e(".dsm_fixed_header header").css("top",e("#wpadminbar").height()):!0===window.matchMedia("(min-width: 769px)").matches&&e(".dsm_fixed_header header").css("top",""))},50)})}});
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://suprememodules.com/
5
  Requires at least: 4.5
6
  Tested up to: 5.4.1
7
  Requires PHP: 5.6
8
- Stable tag: 2.2.3
9
  License: GPLv2
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -111,6 +111,10 @@ This is a common question that we get asked here every now and then which is why
111
 
112
 
113
  == Changelog ==
 
 
 
 
114
  = 2.2.3 – 22.05.2020 =
115
  * Enhanced: Format and follow WordPress Coding Standards for all PHP files in /modules/.
116
  * Enhanced: isset() check for uninstall php.
5
  Requires at least: 4.5
6
  Tested up to: 5.4.1
7
  Requires PHP: 5.6
8
+ Stable tag: 2.2.4
9
  License: GPLv2
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
111
 
112
 
113
  == Changelog ==
114
+ = 2.2.4 – 04.06.2020 =
115
+ * Enhanced: Minify Easy Theme Builder for Header CSS and JS files.
116
+ * Fixed: Conditional check for Easy Theme Builder for Header when there is no header set in Theme Builder causing frontend JS error.
117
+
118
  = 2.2.3 – 22.05.2020 =
119
  * Enhanced: Format and follow WordPress Coding Standards for all PHP files in /modules/.
120
  * Enhanced: isset() check for uninstall php.
supreme-modules-for-divi.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Supreme Modules Lite - Divi Theme, Extra Theme and Divi Builder
4
  * Plugin URI: https://suprememodules.com
5
  * Description: Divi Supreme enhances the experience and features found on Divi and extend with custom creative modules to help you build amazing websites.
6
- * Version: 2.2.3
7
  * Author: Supreme Modules
8
  * Author URI: https://suprememodules.com/about-us/
9
  * License: GPL2
@@ -34,7 +34,7 @@ if ( ! defined( 'ABSPATH' ) ) {
34
  }
35
 
36
  if ( ! defined( 'DSM_VERSION' ) ) {
37
- define( 'DSM_VERSION', '2.2.3' );
38
  }
39
  if ( ! defined( 'DSM_SHORTCODE' ) ) {
40
  define( 'DSM_SHORTCODE', 'divi_shortcode' );
3
  * Plugin Name: Supreme Modules Lite - Divi Theme, Extra Theme and Divi Builder
4
  * Plugin URI: https://suprememodules.com
5
  * Description: Divi Supreme enhances the experience and features found on Divi and extend with custom creative modules to help you build amazing websites.
6
+ * Version: 2.2.4
7
  * Author: Supreme Modules
8
  * Author URI: https://suprememodules.com/about-us/
9
  * License: GPL2
34
  }
35
 
36
  if ( ! defined( 'DSM_VERSION' ) ) {
37
+ define( 'DSM_VERSION', '2.2.4' );
38
  }
39
  if ( ! defined( 'DSM_SHORTCODE' ) ) {
40
  define( 'DSM_SHORTCODE', 'divi_shortcode' );