diff --git a/modules/authcache_ajax/authcache_ajax.js b/modules/authcache_ajax/authcache_ajax.js index 17e0d7b..49f0414 100644 --- a/modules/authcache_ajax/authcache_ajax.js +++ b/modules/authcache_ajax/authcache_ajax.js @@ -43,8 +43,7 @@ if (settings.authcacheP13nAjaxFragments) { $.each(settings.authcacheP13nAjaxFragments, function(frag) { var params = this; - $.each(params, function(url) { - var param = this; + $.each(params, function(url, param) { var $targets = $('.authcache-ajax-frag', context).filter(function () { // Use attr() instead of data() in order to prevent jQuery from // converting numeric strings to integers.