Fix ab_banner display
This commit is contained in:
parent
43bc704468
commit
4e3dc7c438
|
@ -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; display:none'" if !ad_image.out_link.blank?
|
res << "style='display:none; #{'cursor:pointer;' if !ad_image.out_link.blank?}'"
|
||||||
res << "/>"
|
res << "/>"
|
||||||
end
|
end
|
||||||
res << "</div>"
|
res << "</div>"
|
||||||
|
|
Loading…
Reference in New Issue