Skip to content

Commit

Permalink
Merge pull request #92 from creative-commoners/pulls/3.1/remove-todo
Browse files Browse the repository at this point in the history
MNT Remove TODO comments
  • Loading branch information
GuySartorelli authored Oct 19, 2023
2 parents 0b2ce4d + ec2628f commit 79293f8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions client/src/bundles/segment-field.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
},

Expand Down

0 comments on commit 79293f8

Please sign in to comment.