Changeset 3430865
- Timestamp:
- 01/02/2026 05:25:18 AM (3 months ago)
- Location:
- citation-note
- Files:
-
- 2 edited
-
tags/1.1.1/assets/js/citation-note.js (modified) (1 diff)
-
trunk/assets/js/citation-note.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
citation-note/tags/1.1.1/assets/js/citation-note.js
r3430862 r3430865 70 70 } else { 71 71 const references = document.querySelectorAll("sup.citenote-reference"); 72 references.forEach((ref) => { 73 ref.remove(); 74 }); 75 console.log( 76 "citation footnoes list output is not set. please add shortcode [citenote_display_list] at the end of the page content." 77 ); 72 if (references.length) { 73 references.forEach((ref) => { 74 ref.remove(); 75 }); 76 console.log( 77 "citation footnoes list output is not set. please add shortcode [citenote_display_list] at the end of the page content." 78 ); 79 } 78 80 } 79 81 }); -
citation-note/trunk/assets/js/citation-note.js
r3425938 r3430865 70 70 } else { 71 71 const references = document.querySelectorAll("sup.citenote-reference"); 72 references.forEach((ref) => { 73 ref.remove(); 74 }); 75 console.log( 76 "citation footnoes list output is not set. please add shortcode [citenote_display_list] at the end of the page content." 77 ); 72 if (references.length) { 73 references.forEach((ref) => { 74 ref.remove(); 75 }); 76 console.log( 77 "citation footnoes list output is not set. please add shortcode [citenote_display_list] at the end of the page content." 78 ); 79 } 78 80 } 79 81 });
Note: See TracChangeset
for help on using the changeset viewer.