From 232d1aae318ca0221c49fb8e8603cf547424ca87 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Wed, 1 Apr 2015 15:22:02 -0400 Subject: [PATCH] helpers.getBookmarkFromIndex --- public/src/modules/helpers.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/src/modules/helpers.js b/public/src/modules/helpers.js index 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 helpers helpers.membershipBtn = function(groupObj) { if (groupObj.isMember) {