MediaWiki:BibleGet.js: Difference between revisions
no edit summary
Johnrdorazio (talk | contribs) No edit summary |
Johnrdorazio (talk | contribs) No edit summary |
||
Line 157: | Line 157: | ||
//AND HERE WE ADD A SPACE BETWEEN NUMBER AND REST OF BOOK NAME TO THOSE BIBLE BOOKS THAT HAVE AN INITIAL NUMBER | //AND HERE WE ADD A SPACE BETWEEN NUMBER AND REST OF BOOK NAME TO THOSE BIBLE BOOKS THAT HAVE AN INITIAL NUMBER | ||
jQuery | jQuery('.bibleQuote .bookChapter').each(function(){ | ||
if( unicodeChrClass.test( jQuery(this).html() ) ){ | if( unicodeChrClass.test( jQuery(this).html() ) ){ | ||
jQuery(this).html( jQuery(this).html().replace( unicodeChrClass, '$1 $2' ) ); | jQuery(this).html( jQuery(this).html().replace( unicodeChrClass, '$1 $2' ) ); |