diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-10-20 13:52:06 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-10-20 13:52:06 -0500 |
| commit | 3ee7201f5d1eb9655fc11f0f377529ec71a3b834 (patch) | |
| tree | 9a2e92d681a3c20e27139153c1b3f6812cb29041 /assets/js/watch.js | |
| parent | 3c634d9f66ca39debd1f9946f07094634109d0fa (diff) | |
| download | invidious-3ee7201f5d1eb9655fc11f0f377529ec71a3b834.tar.gz invidious-3ee7201f5d1eb9655fc11f0f377529ec71a3b834.tar.bz2 invidious-3ee7201f5d1eb9655fc11f0f377529ec71a3b834.zip | |
Comma seperate comment scores
Diffstat (limited to 'assets/js/watch.js')
| -rw-r--r-- | assets/js/watch.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/assets/js/watch.js b/assets/js/watch.js index 4a84769e..99500686 100644 --- a/assets/js/watch.js +++ b/assets/js/watch.js @@ -28,13 +28,6 @@ function swap_comments(source) { } } -function commaSeparateNumber(val) { - while (/(\d+)(\d{3})/.test(val.toString())) { - val = val.toString().replace(/(\d+)(\d{3})/, "$1" + "," + "$2"); - } - return val; -} - String.prototype.supplant = function(o) { return this.replace(/{([^{}]*)}/g, function(a, b) { var r = o[b]; |
