diff --git a/_javascript/modules/components/pageviews.js b/_javascript/modules/components/pageviews.js index 99e72ce..790fd95 100644 --- a/_javascript/modules/components/pageviews.js +++ b/_javascript/modules/components/pageviews.js @@ -193,8 +193,8 @@ function fetchProxyPageviews() { type: 'GET', url: PvOpts.getProxyMeta(), dataType: 'jsonp', - jsonpCallback: 'displayPageviews', success: (data) => { + displayPageviews(data); PvStorage.saveProxyCache(JSON.stringify(data)); }, error: (jqXHR, textStatus, errorThrown) => {