From 3f4f284ee864142ea8f37554c181d5e047d934fe Mon Sep 17 00:00:00 2001 From: Mark Tully Date: Wed, 10 Jul 2024 23:23:22 +0100 Subject: [PATCH] entityshape-33 Move failed response to below search box --- script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script.js b/script.js index 02eb3b2..965b362 100644 --- a/script.js +++ b/script.js @@ -112,7 +112,7 @@ window.localStorage.setItem("entityschema", entityschema_entitySchema); } if (entityschema_entitySchema.length == 0) { - $("#entityschemaResponse").append( 'No schemas entered and could not automatically determine schemas to check' ); + $("#entityschemaResponse").append( '
No schemas entered and could not automatically determine schemas to check' ); } else { let entityschema_entityName = document.location.pathname.substring(6); let lang = mw.config.get( 'wgUserLanguage' ); @@ -176,7 +176,7 @@ $(".entityshape-spinner").hide(); }, error: function(data) { - $("#entityschemaResponse").append( 'Unable to validate schema' ); + $("#entityschemaResponse").append( '
Unable to validate schema' ); } }); }