Fix ab_banner display
This commit is contained in:
parent
a19a5415c1
commit
39604d30ce
|
@ -80,7 +80,7 @@ module ParserCommon
|
||||||
res << "link_open='#{ad_image.link_open}' "
|
res << "link_open='#{ad_image.link_open}' "
|
||||||
# res << "link_url='#{(ad_image.direct_to_after_click?? ad_image.out_link : ad_banner.context) || ' '}' "
|
# res << "link_url='#{(ad_image.direct_to_after_click?? ad_image.out_link : ad_banner.context) || ' '}' "
|
||||||
res << "link_url='#{(ad_image.out_link)}' "
|
res << "link_url='#{(ad_image.out_link)}' "
|
||||||
res << "style='cursor:pointer; visibility=hidden'" if !ad_image.out_link.blank?
|
res << "style='cursor:pointer; display:none'" if !ad_image.out_link.blank?
|
||||||
res << "/>"
|
res << "/>"
|
||||||
end
|
end
|
||||||
res << "</div>"
|
res << "</div>"
|
||||||
|
|
Loading…
Reference in New Issue