for bible
[wolnelektury.git] / src / wolnelektury / static / js / book_text / references.js
index ef6c51c..fa4a35a 100644 (file)
         let range = document.createRange();
 
         let $p = $(this).nextAll('.paragraph').first()
         let range = document.createRange();
 
         let $p = $(this).nextAll('.paragraph').first()
-        range.selectNode($p[0]);
+        range.selectNodeContents($p[0]);
         sel.addRange(range);
         
         qbox.showForSelection(sel);
         sel.addRange(range);
         
         qbox.showForSelection(sel);