applied minor suggestion suggested by @damianb in issue #24

closed #88 (regression due to text selection enhancement)
This commit is contained in:
Julian Lam
2013-07-17 01:02:28 -04:00
parent 3feb977cc4
commit ed967a0e2f
2 changed files with 2 additions and 4 deletions

View File

@@ -232,7 +232,7 @@
if (thread_state.locked !== '1') {
require(['composer'], function(cmp) {
cmp.push(tid, null, null, selectionText + '\n\n');
cmp.push(tid, null, null, selectionText.length > 0 ? selectionText + '\n\n' : '');
});
}
};