From fc001a2f442bd94cbf76ae58d7275e195b1e8328 Mon Sep 17 00:00:00 2001 From: j Date: Sat, 17 Feb 2024 14:15:34 +0000 Subject: [PATCH] version can contain dots --- source/Ox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.js b/source/Ox.js index 16d1ce97..675fbed3 100644 --- a/source/Ox.js +++ b/source/Ox.js @@ -37,7 +37,7 @@ } function getPath() { - var index, regexp = /Ox\.js(\?\d+|)$/, + var index, regexp = /Ox\.js(\?[\d\.]+|)$/, scripts = document.getElementsByTagName('script'), src; for (index = scripts.length - 1; index >= 0; index--) { src = scripts[index].src;