fix the link not showing on the old R4 site error
This commit is contained in:
parent
b19e5e838e
commit
f31d2403be
|
@ -14,7 +14,9 @@ class AdBannersController < ApplicationController
|
||||||
else
|
else
|
||||||
target = ""
|
target = ""
|
||||||
end
|
end
|
||||||
|
if !b.out_link.blank?
|
||||||
|
image_link += "\" style=\"cursor:pointer;\" onclick=\"window.location.href=\'#{b.out_link}\'\""
|
||||||
|
end
|
||||||
images << {
|
images << {
|
||||||
"image_link" => image_link,
|
"image_link" => image_link,
|
||||||
"image_alt" => "ad banner image",
|
"image_alt" => "ad banner image",
|
||||||
|
|
Loading…
Reference in New Issue