summaryrefslogtreecommitdiffstats
path: root/assets/js/player.js
diff options
context:
space:
mode:
authorChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>2023-03-23 18:10:53 -0400
committerChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>2023-03-27 22:56:29 -0400
commita3da03bee91eab5c602882c4b43b959362ee441d (patch)
treeb48aecab0e1667cbe550b1da3db7b4a583b18dd2 /assets/js/player.js
parent8a44bd11d2abab8c9203d6dc3c3d5824e5e26327 (diff)
downloadinvidious-a3da03bee91eab5c602882c4b43b959362ee441d.tar.gz
invidious-a3da03bee91eab5c602882c4b43b959362ee441d.tar.bz2
invidious-a3da03bee91eab5c602882c4b43b959362ee441d.zip
improve accessibility
Diffstat (limited to 'assets/js/player.js')
-rw-r--r--assets/js/player.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/player.js b/assets/js/player.js
index ee678663..bb53ac24 100644
--- a/assets/js/player.js
+++ b/assets/js/player.js
@@ -261,7 +261,7 @@ function updateCookie(newVolume, newSpeed) {
var date = new Date();
date.setFullYear(date.getFullYear() + 2);
- var ipRegex = /^((\d+\.){3}\d+|[A-Fa-f0-9]*:[A-Fa-f0-9:]*:[A-Fa-f0-9:]+)$/;
+ var ipRegex = /^((\d+\.){3}\d+|[\dA-Fa-f]*:[\d:A-Fa-f]*:[\d:A-Fa-f]+)$/;
var domainUsed = location.hostname;
// Fix for a bug in FF where the leading dot in the FQDN is not ignored