mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-04-11 23:18:13 +02:00
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated Signed-off-by: Tobias Speicher <rootcommander@gmail.com>