View source for MediaWiki:Mobile.js
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
/* Any JavaScript here will be loaded for users using the mobile site */
(function($,mw){
$(document).ready(function(){
if( $('.bibleQuoteRef').length > 0 ){
//console.log("There are bible quotes on this page!");
$('.bibleQuoteRef').each(function(){
let $span = $(this);
let version = $(this).attr('data-version');
let ref = $(this).attr('data-ref');
$.ajax({
method: 'POST',
url: '../w/bgetHelper.php',
data: {
"version": version,
"ref": ref
},
success: function(data){
//console.log("data returned from ajax request:");
//console.log(data);
if(data.hasOwnProperty('html')){
let $bGetTIP = $('<div>', {
"class": "bibleGetQuote",
000
1:0
Return to MediaWiki:Mobile.js.