mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-25 07:23:11 +00:00
Changed mobile ad type
This commit is contained in:
@@ -3,12 +3,12 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
if(WURFL.is_mobile){
|
if(WURFL.is_mobile){
|
||||||
//Mobile and tablet ad
|
//Mobile and tablet ad
|
||||||
(function(){
|
(function (){
|
||||||
CHITIKA = window.CHITIKA ? window.CHITIKA : {'units' : []};
|
if(window.CHITIKA===undefined) {window.CHITIKA = {'units' :[]};};
|
||||||
CHITIKA.publisher = 'cwimer';
|
var unit = {"calltype":"async[2]","publisher":"cwimer","width":468,"height":60,"sid":"Chitika Default"};
|
||||||
var s = document.createElement('script');
|
var placement_id = window.CHITIKA.units.length;
|
||||||
s.src = '//cdn.chitika.net/getads.js';
|
window.CHITIKA.units.push(unit);
|
||||||
try { document.getElementsByTagName('head')[0].appendChild(s); } catch(e) { document.write(s.outerHTML);}
|
document.write('<div id="chitikaAdBlock-' + placement_id + '"></div>');
|
||||||
}());
|
}());
|
||||||
} else {
|
} else {
|
||||||
//Desktop ad
|
//Desktop ad
|
||||||
|
|||||||
Reference in New Issue
Block a user