diff options
author | Sam Potts <sam@potts.es> | 2018-06-13 00:48:42 +1000 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2018-06-13 00:48:42 +1000 |
commit | 0ecf7e385482c7bd0600e6a8de05dce49e934c4d (patch) | |
tree | 22f78ee33b35568ceff8e395fb16fb6b98cc7239 /dist/plyr.js | |
parent | aae1092bacd464a074ee26feab6f371903e83d90 (diff) | |
download | plyr-0ecf7e385482c7bd0600e6a8de05dce49e934c4d.tar.lz plyr-0ecf7e385482c7bd0600e6a8de05dce49e934c4d.tar.xz plyr-0ecf7e385482c7bd0600e6a8de05dce49e934c4d.zip |
Force string on format
Diffstat (limited to 'dist/plyr.js')
-rw-r--r-- | dist/plyr.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/plyr.js b/dist/plyr.js index b694b070..d27e0409 100644 --- a/dist/plyr.js +++ b/dist/plyr.js @@ -972,7 +972,7 @@ function format(input) { } return input.toString().replace(/{(\d+)}/g, function (match, i) { - return is.string(args[i]) ? args[i] : ''; + return args[i].toString(); }); } |