From 2e0a87a2ff56c7d03b9706297d19519a1b40f4cc Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 8 Jun 2016 17:01:30 +1000 Subject: [PATCH] correct linting error --- app/assets/javascripts/discourse/widgets/post-links.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/widgets/post-links.js.es6 b/app/assets/javascripts/discourse/widgets/post-links.js.es6 index 65f6f4799..2c2ff4da3 100644 --- a/app/assets/javascripts/discourse/widgets/post-links.js.es6 +++ b/app/assets/javascripts/discourse/widgets/post-links.js.es6 @@ -22,7 +22,7 @@ export default createWidget('post-links', { let titleCount = 0; let hasMore = links.any((l) => { - if (this.state.collapsed && titleCount === 5) { return true; } + if (state.collapsed && titleCount === 5) { return true; } let title = l.title; if (title && !seenTitles[title]) {