Skip to content

Commit 2147b9a

Browse files
committed
updated demo images
1 parent 901173e commit 2147b9a

3 files changed

Lines changed: 1 addition & 1 deletion

File tree

‎index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ <h5 class="label-warp"><span class="label label-{type}" data-toggle="tooltip" d
403403
.replace(/[`~!@#$^&*()=|{}':;',\[\].<>\/?~!@#¥……&*()——|\\{\\}【】‘;:”“’。,、?]/g,' ')
404404
.replace(/\s+/ig,'+').split('+')
405405
.filter(function(key,idx,inputArray){
406-
var dup = inputArray.indexOf(key) == idx && !/^(a|an|the|that|this|those|these|and)$/ig.test(key);
406+
var dup = key.length>1 && inputArray.indexOf(key) == idx && !/^(a|an|the|that|this|those|these|and)$/ig.test(key);
407407
if(dup){
408408
labels.push(els.searchRelateTpl.replace(/\{val\}/g,key));
409409
}

‎resources/images/demo1.jpg‎

2.77 KB
Loading

‎resources/images/demo2.jpg‎

-961 Bytes
Loading

0 commit comments

Comments
 (0)