Node.js based forum software built for the modern web
add back removed rtrim method
Barış Soner Uşaklı5673769c8ca8
diff --git a/public/src/utils.js b/public/src/utils.jsindex 8638d06750..8f2dcb8e87 100644--- a/public/src/utils.js+++ b/public/src/utils.js@@ -429,5 +429,11 @@};}+ if (typeof String.prototype.rtrim !== 'function') {+ String.prototype.rtrim = function () {+ return this.replace(/\s+$/g, '');+ };+ }+return utils;}));