Skip to content
Snippets Groups Projects
Commit a4ab60fc authored by Nathan Haug's avatar Nathan Haug
Browse files

Removing duplicate "-processed" suffix from behavior.

parent a810cd1d
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ Drupal.behaviors.chartsGoogle.attach = function(context, settings) {
}
function renderCharts() {
$('.charts-google').once('charts-google-processed', function() {
$('.charts-google').once('charts-google', function() {
if ($(this).attr('data-chart')) {
var config = $.parseJSON($(this).attr('data-chart'));
var wrap = new google.visualization.ChartWrapper();
......
......@@ -6,7 +6,7 @@
Drupal.behaviors.chartsHighcharts = {};
Drupal.behaviors.chartsHighcharts.attach = function(context, settings) {
$('.charts-highchart').once('charts-highchart-processed', function() {
$('.charts-highchart').once('charts-highchart', function() {
if ($(this).attr('data-chart')) {
var config = $.parseJSON($(this).attr('data-chart'));
$(this).highcharts(config);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment