From 31a44a9982c9293dc9d8f2a2c7667e2ec7b28924 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 18 Feb 2015 00:04:55 -0500 Subject: [PATCH] dont use fa icon --- public/src/modules/topicSelect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/modules/topicSelect.js b/public/src/modules/topicSelect.js index 842cf7f8b6..75f32f80be 100644 --- a/public/src/modules/topicSelect.js +++ b/public/src/modules/topicSelect.js @@ -23,7 +23,7 @@ define('topicSelect', function() { return false; } - var isSelected = select.hasClass('fa-check-square-o'); + var isSelected = select.parents('[data-tid]').hasClass('selected'); toggleSelect(select, !isSelected); lastSelected = select; if (typeof onSelect === 'function') {