Skip to content

Commit

Permalink
dont tap to scroll when clicking verse link
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanroj23 committed Jan 12, 2025
1 parent db41737 commit fe6baa6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions topics/topics.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ function addVerseForTopic(verseToGet, counter){
const scrollableVerseDiv = createDiv('scrollable-verse', 'div', '', `verse_${counter}`);
const verseLink = createDiv('verse-link', 'a');
const verseTitle = createDiv('verse-title', 'div', `${verseToGet.replace("_", " ")}`);
verseTitle.onclick = function(event){
event.stopPropagation();
}
verseTitle.classList.add('roboto-medium');
const verseContent = createDiv('verse-content', 'div');

Expand Down

0 comments on commit fe6baa6

Please sign in to comment.