Skip to content

Commit

Permalink
Merge pull request #61 from theSlyest/patch-2
Browse files Browse the repository at this point in the history
Update suggest.js
  • Loading branch information
RussH committed Mar 9, 2016
2 parents b1ec008 + e1ce628 commit f42473d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/suggest.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ function suggestListPopulate(focusID, sessionCookie, lookupText, maxResults, def

output += '<div id="suggest' + i + '" onclick="'
+ 'document.getElementById(textInputID).value=\''
+ trim(nameNodeValue) + '\'; '
+ trim(nameNodeValue.replace(/'/g,"\\'")) + '\'; '
+ 'document.getElementById(resultsElementID).style.display = \'none\'; '
+ 'document.getElementById(IDElementID).value='
+ IDNode.firstChild.nodeValue + ';'
Expand Down

0 comments on commit f42473d

Please sign in to comment.