diff --git a/plugins/CoreHome/javascripts/sparkline.js b/plugins/CoreHome/javascripts/sparkline.js index 32e23a12aa85761910647dc842ca3927a6ff1f57..887023ba895b9b4121c7f8c65c5345975fe568bd 100644 --- a/plugins/CoreHome/javascripts/sparkline.js +++ b/plugins/CoreHome/javascripts/sparkline.js @@ -41,7 +41,7 @@ window.initializeSparklines = function () { var graph = $(this); // we search for .widget to make sure eg in the Dashboard to not update any graph of another report - var selectorsToFindParent = ['.widget', '.reporting-page', 'body']; + var selectorsToFindParent = ['.widget', '[piwik-widget-container]', '.reporting-page', 'body']; var index = 0, selector, parent; for (index; index < selectorsToFindParent.length; index++) { selector = selectorsToFindParent[index];