Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

Commit

Permalink
use correct comparison operator
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam committed Jul 10, 2016
1 parent 0e27217 commit 77c1174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion request.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
var parsed = JSON.parse(response);
for(var i=0; i<parsed.length; i++){
var item = document.createElement("li");
if(parsed[i].labels[0].name === 'duplicate'){
if(parsed[i].labels[0].name != 'duplicate'){
item.innerHTML = '<span class="glyphicon glyphicon-ok-sign green" aria-hidden="true"></span><a href='+parsed[i].html_url+'>'+parsed[i].title+'</a>';
items.appendChild(item);
}
Expand Down

0 comments on commit 77c1174

Please sign in to comment.