Skip to content

Commit

Permalink
Merge pull request #35
Browse files Browse the repository at this point in the history
Resolves #33 
Move failed response to below search box
  • Loading branch information
Teester committed Jul 10, 2024
2 parents a95a10a + 3f4f284 commit a490d6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
window.localStorage.setItem("entityschema", entityschema_entitySchema);
}
if (entityschema_entitySchema.length == 0) {
$("#entityschemaResponse").append( '<span>No schemas entered and could not automatically determine schemas to check</span>' );
$("#entityschemaResponse").append( '<br/><span>No schemas entered and could not automatically determine schemas to check</span>' );
} else {
let entityschema_entityName = document.location.pathname.substring(6);
let lang = mw.config.get( 'wgUserLanguage' );
Expand Down Expand Up @@ -176,7 +176,7 @@
$(".entityshape-spinner").hide();
},
error: function(data) {
$("#entityschemaResponse").append( '<span>Unable to validate schema</span>' );
$("#entityschemaResponse").append( '<br/><span>Unable to validate schema</span>' );
}
});
}
Expand Down

0 comments on commit a490d6e

Please sign in to comment.