FIX: house ads randomized instead of showing evenly
This commit is contained in:
parent
26d42e9ed7
commit
d9d7f4c8f4
|
@ -94,7 +94,7 @@ export default AdComponent.extend({
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!adIndex["topic_list_top"]) {
|
if (adIndex.topic_list_top === null) {
|
||||||
// start at a random spot in the ad inventory
|
// start at a random spot in the ad inventory
|
||||||
Object.keys(adIndex).forEach(placement => {
|
Object.keys(adIndex).forEach(placement => {
|
||||||
const adNames = this.adsNamesForSlot(placement);
|
const adNames = this.adsNamesForSlot(placement);
|
||||||
|
|
Loading…
Reference in New Issue