version can contain dots

This commit is contained in:
j 2024-02-17 14:15:34 +00:00
parent d25fe788ee
commit fc001a2f44
1 changed files with 1 additions and 1 deletions

View File

@ -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;