Skip to content

Commit

Permalink
another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
krangelov committed Jul 27, 2023
1 parent 23ffdce commit 2c1fd17
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions www/js/gf-wordnet.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;
}
}
Expand Down

0 comments on commit 2c1fd17

Please sign in to comment.