aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/html_promo.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v4/html_promo.rb')
-rw-r--r--lib/sisu/v4/html_promo.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v4/html_promo.rb b/lib/sisu/v4/html_promo.rb
index 2cde2a44..70e63335 100644
--- a/lib/sisu/v4/html_promo.rb
+++ b/lib/sisu/v4/html_promo.rb
@@ -64,7 +64,7 @@ module SiSU_HTML_Promo
@env=SiSU_Env::InfoEnv.new(@md.fns,@md)
@rc=SiSU_Env::GetInit.new.sisu_yaml.rc
@ad=SiSU_Env::GetInit.new.ads
- @vz=SiSU_Env::GetInit.new.skin
+ @vz=SiSU_Viz::Defaults.new
@flag=@env.widget.promo?
@make=SiSU_Env::ProcessingSettings.new(@md)
end
@@ -95,7 +95,7 @@ module SiSU_HTML_Promo
&& @flag[:ad]
ads=if @md.promo && @md.promo.length > 0 #promo set in document
promo_array=@md.promo
- elsif @flag[:sk] #promo set in associated skin
+ elsif @flag[:sk] #promo set
promo_array=@vz.widget_promo
elsif @flag[:rc] #promo set in rc file
promo_array=if @rc['html']['promo'].is_a?(String)