forked from hummypkg/webif
Fix null string length match
This commit is contained in:
parent
bbd1c50b38
commit
72c7e6e3b1
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue