Node.js based forum software built for the modern web
helpers.getBookmarkFromIndex
psychobunny232d1aae318c
diff --git a/public/src/modules/helpers.js b/public/src/modules/helpers.jsindex 04937895c5..0146a0aef1 100644--- a/public/src/modules/helpers.js+++ b/public/src/modules/helpers.js@@ -93,6 +93,10 @@return style.join(' ');};+ helpers.getBookmarkFromIndex = function(topic) {+ return (topic.index || 0) + 1;+ };+// Groups helpershelpers.membershipBtn = function(groupObj) {if (groupObj.isMember) {