MediaWiki:Mobile.js: Difference between revisions
no edit summary
Johnrdorazio (talk | contribs) No edit summary |
Johnrdorazio (talk | contribs) No edit summary |
||
Line 27: | Line 27: | ||
$('body').append($bGetTIP); | $('body').append($bGetTIP); | ||
$span. | $span[0].addEventListener('touchstart', function(){ | ||
let toppos = ($(window).height()/2) - ($bGetTIP.height()/2); | let toppos = ($(window).height()/2) - ($bGetTIP.height()/2); | ||
let leftpos = ($(window).width()/2) - ($bGetTIP.width()/2); | let leftpos = ($(window).width()/2) - ($bGetTIP.width()/2); | ||
Line 34: | Line 34: | ||
}); | }); | ||
$bGetTIP. | $bGetTIP[0].addEventListener('touchstart', function(){ | ||
$(this).hide(); | $(this).hide(); | ||
}); | }); |