Skip to content

Commit

Permalink
Merge branch '3.1' into 3
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 24, 2023
2 parents 7ec9f88 + 79293f8 commit 320cf82
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 320cf82

Please sign in to comment.