changed ad mobile height for adsense
temp test for mobile ad height space for testing on mobile.
This commit is contained in:
parent
c6b753ab67
commit
a8c0910f5b
|
@ -4,12 +4,12 @@ var ad_width = '';
|
||||||
var ad_height = '';
|
var ad_height = '';
|
||||||
var ad_code = '';
|
var ad_code = '';
|
||||||
var ad_mobile_width = 320;
|
var ad_mobile_width = 320;
|
||||||
var ad_mobile_height = 50;
|
var ad_mobile_height = 60;
|
||||||
var ad_mobile_code = '';
|
var ad_mobile_code = '';
|
||||||
var currentUser = Discourse.User.current();
|
var currentUser = Discourse.User.current();
|
||||||
var publisher_id = Discourse.SiteSettings.adsense_publisher_code;
|
var publisher_id = Discourse.SiteSettings.adsense_publisher_code;
|
||||||
var mobile_width = 320;
|
var mobile_width = 320;
|
||||||
var mobile_height = 50;
|
var mobile_height = 60;
|
||||||
|
|
||||||
|
|
||||||
function splitWidthInt(value) {
|
function splitWidthInt(value) {
|
||||||
|
@ -131,4 +131,4 @@ export default Ember.Component.extend({
|
||||||
checkTrustLevels: function() {
|
checkTrustLevels: function() {
|
||||||
return !((currentUser) && (currentUser.get('trust_level') > Discourse.SiteSettings.adsense_through_trust_level));
|
return !((currentUser) && (currentUser.get('trust_level') > Discourse.SiteSettings.adsense_through_trust_level));
|
||||||
}.property('trust_level'),
|
}.property('trust_level'),
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue