Skip to content
This repository was archived by the owner on Jun 28, 2021. It is now read-only.
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/components/Word/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ export default class Word extends React.Component {

buildTooltip = (word, tooltip) => {
let title;
if (!word.wordId && word.charType === CHAR_TYPE_END) {

if (word.charType === CHAR_TYPE_END) {
title = `Verse ${word.verseKey.split(':')[1]}`;
} else {
} else if(word.charType === CHAR_TYPE_WORD) {
title = word[tooltip].text;
} else{
title = ''
}
return title;
}
Expand Down