Skip to content

Commit

Permalink
Remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksptang committed Jun 17, 2024
1 parent fcb7a03 commit cc79904
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions step-web/src/main/webapp/js/search_selection.js
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,6 @@ step.searchSelect = {
step["SearchCount" + MEANINGS] = 0;
step["SearchCount" + SUBJECT_SEARCH] = 0;
step["SearchCount" + TEXT_SEARCH] = 0;
// $.ajaxSetup({async: false});
$.getJSON(url, function (data) {
var alreadyShownStrong = [];
for (var i = 0; i < data.length; i++) {
Expand Down Expand Up @@ -1506,7 +1505,6 @@ step.searchSelect = {
}).fail(function() {
changeBaseURL();
});
// $.ajaxSetup({async: true});
step.searchSelect.searchUserInput = userInput;
step.searchSelect._updateDisplayBasedOnOptions();
}
Expand Down

0 comments on commit cc79904

Please sign in to comment.