mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
fix
This commit is contained in:
+1
-1
@@ -84,7 +84,7 @@ kit.config = kit.config || {};
|
|||||||
document.querySelector('meta[property="kit:file-load"][content="'+src+'"]');
|
document.querySelector('meta[property="kit:file-load"][content="'+src+'"]');
|
||||||
}
|
}
|
||||||
function getUrlWithTimestamp(url){
|
function getUrlWithTimestamp(url){
|
||||||
var t = ((new Date()).getTime() / 3600 >> 0) * 3600;
|
var t = ((new Date()).getTime() / 1000 / 3600 >> 0) * 3600;
|
||||||
try {
|
try {
|
||||||
var uri = new URL(url);
|
var uri = new URL(url);
|
||||||
uri.searchParams.append('__pm', String(t));
|
uri.searchParams.append('__pm', String(t));
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user