File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 33<!--[if IE 8 ]> <html class="no-js ie ie8 lte8 lte9" <?php language_attributes (); ?> > <![endif]-->
44<!--[if IE 9 ]> <html class="no-js ie ie9 lte9>" <?php language_attributes (); ?> > <![endif]-->
55<!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js" <?php language_attributes (); ?> > <!--<![endif]-->
6- <head>
6+ <head data-live-domain=" <?php echo JQUERY_LIVE_DOMAIN ; ?> " >
77 <meta charset="utf-8">
88 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
99
Original file line number Diff line number Diff line change @@ -28,9 +28,28 @@ $(function() {
2828
2929 // Banner ads
3030 ( function ( ) {
31+
32+ // Default site id
33+ var siteId = 53829 ,
34+
35+ // Sites can contain two properties: all and homepage
36+ site = ( {
37+ "jquery.com" : {
38+ homepage : 32018
39+ }
40+ } ) [ $ ( "head" ) . attr ( "data-live-domain" ) ] ;
41+
42+ if ( site ) {
43+ if ( location . pathname === "/" && site . homepage ) {
44+ siteId = site . homepage ;
45+ } else if ( site . all ) {
46+ siteId = site . all ;
47+ }
48+ }
49+
3150 window . ados = {
3251 run : [ function ( ) {
33- ados_add_placement ( 5449 , 32018 , "broadcast" , 1314 ) ;
52+ ados_add_placement ( 5449 , siteId , "broadcast" , 1314 ) ;
3453 ados_load ( ) ;
3554 } ]
3655 } ;
You can’t perform that action at this time.
0 commit comments