Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Commit 35c1025

Browse files
committed
Fixed type of payload. Should be an jQuery object for easy appending
1 parent ed533a1 commit 35c1025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery.webvtt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
marker: matches[1],
4444
from: timestampToNumber(matches[2]),
4545
to: timestampToNumber(matches[3]),
46-
payload: matches[4]
46+
payload: $('<p/>').text(matches[4])
4747
})
4848

4949
i += 2;

0 commit comments

Comments
 (0)