Skip to content

Commit 17176df

Browse files
authored
Merge pull request #99 from Codeinwp/development
Fixed issue on chart resizing on tabbed system
2 parents 9910490 + 18a4607 commit 17176df

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

classes/Visualizer/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
class Visualizer_Plugin {
3131

3232
const NAME = 'visualizer';
33-
const VERSION = '1.6.5';
33+
const VERSION = '1.6.6';
3434

3535
// custom post types
3636
const CPT_VISUALIZER = 'visualizer';

css/media.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Version: 1.6.5
2+
Version: 1.6.6
33
*/
44
#visualizer-library-view {
55
padding: 30px 10px 10px 30px;

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: Visualizer: Charts and Graphs Lite
44
Plugin URI: https://themeisle.com/plugins/visualizer-charts-and-graphs-lite/
55
Description: A simple, easy to use and quite powerful tool to create, manage and embed interactive charts into your WordPress posts and pages. The plugin uses Google Visualization API to render charts, which supports cross-browser compatibility (adopting VML for older IE versions) and cross-platform portability to iOS and new Android releases.
6-
Version: 1.6.5
6+
Version: 1.6.6
77
Author: Themeisle
88
Author URI: http://themeisle.com
99
License: GPL v2.0 or later

js/render.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223

224224
var mutateObserver = new MutationObserver(function(records) {
225225
records.forEach(function(record) {
226-
if(record.attributeName == "style"){
226+
if(record.attributeName == "style" || record.attributeName == "class"){
227227
var element = $(record.target);
228228
var displayStyle = window.getComputedStyle(element[0]).getPropertyValue("display");
229229
if(element.hasClass("visualizer-hidden-container-resized") || displayStyle == "none") return;

readme.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ Pay attention that to turn your shortcodes into graphs, your theme has to have `
7070

7171
== Changelog ==
7272

73+
= 1.6.6=
74+
* Fixed charts resizing on tabbed content
75+
7376
= 1.6.5=
7477
* Fixed responsive issue
7578
* Fixed no axis text color for line and bar charts

0 commit comments

Comments
 (0)