Skip to content

Commit 8b4f99c

Browse files
committed
fix: pageviews not updated immediately
1 parent 6f97636 commit 8b4f99c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_javascript/modules/components/pageviews.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ function fetchProxyPageviews() {
193193
type: 'GET',
194194
url: PvOpts.getProxyMeta(),
195195
dataType: 'jsonp',
196-
jsonpCallback: 'displayPageviews',
197196
success: (data) => {
197+
displayPageviews(data);
198198
PvStorage.saveProxyCache(JSON.stringify(data));
199199
},
200200
error: (jqXHR, textStatus, errorThrown) => {

0 commit comments

Comments
 (0)