Commit 629ec0f6 authored by Michael Rose's avatar Michael Rose

search: fix strange js issue

parent ef4e566d
......@@ -145,7 +145,7 @@ window.init = function() {
}
$('.shiprow').toArray().forEach((elem) => $(elem).remove());
for (i = 0; i < s.relationships.length; i++) {
for (let i = 0; i < s.relationships.length; i++) {
clone_relationship_row();
const characters = $('[id="search[relationships][' + i + '][characters][]"]');
characters.val(s.relationships[i]['characters']);
......@@ -234,7 +234,7 @@ window.init = function() {
}
};
return updateFandom = function(e,p,c) {
var updateFandom = function(e,p,c) {
let crossover, crossovers_selected, fandom, fandoms_selected, params;
return updateCrossover(e,p).done(function() {},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment