We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa459f6 commit 0639e70Copy full SHA for 0639e70
1 file changed
scripts/validate.js
@@ -17,7 +17,7 @@ var preProcessing = {
17
transformCSSClasses: function (vttContent) {
18
// This function should only be passed one cue at a time.
19
// Throw an error if the string checked is more than 1000 characters.
20
- if ( vttContent > 1000 ) {
+ if ( vttContent.length > 1000 ) {
21
throw new Error( "Input too long" );
22
}
23
return vttContent.replace(
0 commit comments