forked from hummypkg/webif
1
0
Fork 0

Fix null string length match

This commit is contained in:
prpr 2023-10-07 02:12:09 +01:00
parent bbd1c50b38
commit 72c7e6e3b1
1 changed files with 1 additions and 1 deletions

View File

@ -827,7 +827,7 @@ function doplay(it)
var vc = ""
var ff = $('#ffmpeg')[0];
if (file.match(/\.hmt$/i).length) {
if (file.match(/\.hmt$/i) != null) {
$(it).dialog('close');
return;
}