Skip to content

Commit

Permalink
bugfix when words are checked in a library mode
Browse files Browse the repository at this point in the history
  • Loading branch information
krangelov committed Jul 27, 2023
1 parent 04a5700 commit 65fdf60
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions www/js/gf-wordnet.js
Original file line number Diff line number Diff line change
Expand Up @@ -986,9 +986,10 @@ gfwordnet.update_cells_status = function(lex_id,lang) {

if (checked) {
var icon = row.firstChild.firstChild;
icon.src = 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 = 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 ;
}
}
Expand Down

0 comments on commit 65fdf60

Please sign in to comment.