Ditty News Ticker - Version 2.1.21

Version Description

  • Fixed browser resize bug
Download this release

Release Info

Developer metaphorcreations
Plugin Icon 128x128 Ditty News Ticker
Version 2.1.21
Comparing to
See all releases

Code changes from version 2.1.20 to 2.1.21

assets/js/ditty-news-ticker.js CHANGED
@@ -1317,7 +1317,7 @@
1317
  // Resize the tickers if the width is different
1318
  if( $ticker.outerWidth() != ticker_width ) {
1319
 
1320
- ticker_width = $ticker.outerWidth();
1321
 
1322
  if( settings.type == 'scroll' ) {
1323
  if( settings.scroll_direction=='up' || settings.scroll_direction=='down' ) {
@@ -1378,7 +1378,7 @@
1378
 
1379
  if( $container.width() > 10 ) {
1380
  clearInterval(mtphr_dnt_init_timer);
1381
- ticker_width = $ticker.outerWidth();
1382
  mtphr_dnt_init();
1383
  }
1384
 
1317
  // Resize the tickers if the width is different
1318
  if( $ticker.outerWidth() != ticker_width ) {
1319
 
1320
+ ticker_width = $ticker.outerWidth(true);
1321
 
1322
  if( settings.type == 'scroll' ) {
1323
  if( settings.scroll_direction=='up' || settings.scroll_direction=='down' ) {
1378
 
1379
  if( $container.width() > 10 ) {
1380
  clearInterval(mtphr_dnt_init_timer);
1381
+ ticker_width = $ticker.outerWidth(true);
1382
  mtphr_dnt_init();
1383
  }
1384
 
ditty-news-ticker.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://dittynewsticker.com/
5
  Description: Ditty News Ticker is a multi-functional data display plugin
6
  Text Domain: ditty-news-ticker
7
  Domain Path: languages
8
- Version: 2.1.20
9
  Author: Metaphor Creations
10
  Author URI: http://www.metaphorcreations.com
11
  Contributors: metaphorcreations
@@ -31,7 +31,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
31
 
32
 
33
 
34
- define( 'MTPHR_DNT_VERSION', '2.1.20' );
35
  define( 'MTPHR_DNT_DIR', trailingslashit(plugin_dir_path( __FILE__ )) );
36
  define( 'MTPHR_DNT_FILE', trailingslashit( __FILE__ ) );
37
  define( 'MTPHR_DNT_STORE_URL', 'https://www.metaphorcreations.com' );
5
  Description: Ditty News Ticker is a multi-functional data display plugin
6
  Text Domain: ditty-news-ticker
7
  Domain Path: languages
8
+ Version: 2.1.21
9
  Author: Metaphor Creations
10
  Author URI: http://www.metaphorcreations.com
11
  Contributors: metaphorcreations
31
 
32
 
33
 
34
+ define( 'MTPHR_DNT_VERSION', '2.1.21' );
35
  define( 'MTPHR_DNT_DIR', trailingslashit(plugin_dir_path( __FILE__ )) );
36
  define( 'MTPHR_DNT_FILE', trailingslashit( __FILE__ ) );
37
  define( 'MTPHR_DNT_STORE_URL', 'https://www.metaphorcreations.com' );
readme.txt CHANGED
@@ -72,6 +72,9 @@ The most common cause for an unresponsive ticker (when using scroll or rotate mo
72
 
73
  == Changelog ==
74
 
 
 
 
75
  = 2.1.20 =
76
  * Fixed scroll left jquery bug
77
 
@@ -467,4 +470,4 @@ The most common cause for an unresponsive ticker (when using scroll or rotate mo
467
 
468
  == Upgrade Notice ==
469
 
470
- Fixed scroll left jquery bug
72
 
73
  == Changelog ==
74
 
75
+ = 2.1.21 =
76
+ * Fixed browser resize bug
77
+
78
  = 2.1.20 =
79
  * Fixed scroll left jquery bug
80
 
470
 
471
  == Upgrade Notice ==
472
 
473
+ Fixed browser resize bug