Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
oritwoen committed Oct 6, 2019
1 parent d327843 commit 2323f43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/assets/v2/js/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ var sanitizeDict = function(d, keyToIgnore) {

var sanitizeAPIResults = function(results, keyToIgnore) {
if (results.length >= 1) {
for (var i = 0; i < results.length; i++) {
for (let i = 0; i < results.length; i++) {
results[i] = sanitizeDict(results[i], keyToIgnore);
}
return results;
Expand Down Expand Up @@ -641,8 +641,8 @@ var retrieveIssueDetails = function() {
$.get(request_url, function(result) {
result = sanitizeAPIResults(result);
if (result['keywords']) {
var keywords = result['keywords'];
let keywords = result['keywords'];

showChoices('#keyword-suggestions', '#keywords', keywords);
$('#keywords').select2({
placeholder: 'Select tags',
Expand Down

0 comments on commit 2323f43

Please sign in to comment.