From ec2628ff78364f6136fd63481e9d978f0fb3d820 Mon Sep 17 00:00:00 2001 From: Sabina Talipova Date: Wed, 11 Oct 2023 12:43:20 +1300 Subject: [PATCH] MNT Remove TODO comments --- client/src/bundles/segment-field.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/client/src/bundles/segment-field.js b/client/src/bundles/segment-field.js index 5776eb9..e281e84 100644 --- a/client/src/bundles/segment-field.js +++ b/client/src/bundles/segment-field.js @@ -15,16 +15,6 @@ window.jQuery.entwine('ss', ($) => { redraw() { const field = this.find(':text'); - // @todo these aren't used, should they be? Otherwise, remove - // const value = field.val(); - - // let preview = value; - - // if (value.length > this.getMaxPreviewLength()) { - // preview = this.getEllipsis() - // + value.substr(value.length - this.getMaxPreviewLength(), value.length); - // } - this.find('.preview').text(field.data('preview')); },