Browse Source

Cut link if too long

Tyler Hallada 6 years ago
parent
commit
51051aa6b7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      search-pane2

+ 1 - 1
search-pane2

@@ -176,7 +176,7 @@ form.on('submit', function(data) {
176 176
                 padding: {
177 177
                     bottom: 1
178 178
                 },
179
-                text: '{bold}' + (i + 1) + '. ' + r.title + '{/}\n\t{blue-fg}' + r.link + '{/}\n\t' + r.desc
179
+                text: '{bold}' + (i + 1) + '. ' + r.title + '{/}\n\t{blue-fg}' + r.link.slice(0, 100) + '{/}\n\t' + r.desc
180 180
             });
181 181
             result.set('index', i);
182 182
             resultsSet.append(result);