From 2c1fd17eb0557e720416d28ac6c49dcff6e815f4 Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Thu, 27 Jul 2023 19:43:00 +0200 Subject: [PATCH] another fix --- www/js/gf-wordnet.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/www/js/gf-wordnet.js b/www/js/gf-wordnet.js index 34a31eb2b..f395fd9ac 100644 --- a/www/js/gf-wordnet.js +++ b/www/js/gf-wordnet.js @@ -986,10 +986,9 @@ gfwordnet.update_cells_status = function(lex_id,lang) { if (checked) { var icon = row.firstChild.firstChild; - icon.src = gfwordnet.script_url+ - icon.src.endsWith("unchecked_plus.png") ? "../checked_plus.png" : - icon.src.endsWith("unchecked_minus.png") ? "../checked_minus.png" : - icon.src.endsWith("unchecked.png") ? "../checked.png" : + icon.src = icon.src.endsWith("unchecked_plus.png") ? gfwordnet.script_url+"../checked_plus.png" : + icon.src.endsWith("unchecked_minus.png") ? gfwordnet.script_url+"../checked_minus.png" : + icon.src.endsWith("unchecked.png") ? gfwordnet.script_url+"../checked.png" : icon.src ; } }