diff --git a/github.js b/github.js index 05f44259..bc87af50 100644 --- a/github.js +++ b/github.js @@ -63,7 +63,8 @@ } } - return url + (typeof window !== 'undefined' ? '&' + new Date().getTime() : ''); + return url.replace(/(×tamp=\d+)/, '') + + (typeof window !== 'undefined' ? '×tamp=' + new Date().getTime() : ''); } var xhr = new XMLHttpRequest();