MediaWiki:BibleGet.js: Difference between revisions

no edit summary
No edit summary
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.find('.bibleQuote .bookChapter').each(function(){
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' ) );