Skip to content

Commit 895139e

Browse files
Experiment with alert cache busting
1 parent 4e18046 commit 895139e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/app/themes/mitlib-parent/js/alerts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ $(function(){
119119

120120
// This retrieves a list of posts, with additional parsing to determine if
121121
// any are displayable alerts.
122-
$.getJSON('/wp-json/wp/v2/posts')
122+
$.getJSON('/wp-json/wp/v2/posts', {_: new Date().getTime()})
123123
.done(function(data){
124124
showAlerts(data);
125125
});

0 commit comments

Comments
 (0)