1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-31 19:45:45 +00:00

Changed mobile ad type

This commit is contained in:
2016-01-08 19:16:22 +00:00
parent 64c8176412
commit d5a29c4f4c

View File

@@ -3,12 +3,12 @@
<script type="text/javascript">
if(WURFL.is_mobile){
//Mobile and tablet ad
(function(){
CHITIKA = window.CHITIKA ? window.CHITIKA : {'units' : []};
CHITIKA.publisher = 'cwimer';
var s = document.createElement('script');
s.src = '//cdn.chitika.net/getads.js';
try { document.getElementsByTagName('head')[0].appendChild(s); } catch(e) { document.write(s.outerHTML);}
(function (){
if(window.CHITIKA===undefined) {window.CHITIKA = {'units' :[]};};
var unit = {"calltype":"async[2]","publisher":"cwimer","width":468,"height":60,"sid":"Chitika Default"};
var placement_id = window.CHITIKA.units.length;
window.CHITIKA.units.push(unit);
document.write('<div id="chitikaAdBlock-' + placement_id + '"></div>');
}());
} else {
//Desktop ad