I will not share options that are not being used.

This commit is contained in:
Jeroen De Meerleer 2019-02-22 14:13:07 +01:00 committed by Hypolite Petovan
parent 1c33c20940
commit a8cc4b3362

View file

@ -60,8 +60,7 @@
if ($("#id_frio_background_image").length) { if ($("#id_frio_background_image").length) {
theme.background_image = $("#id_frio_background_image").val(); theme.background_image = $("#id_frio_background_image").val();
var elText = theme.background_image; if (theme.background_image.length > 0) {
if ($("#id_frio_bg_image_option_stretch").is(":checked") == true) { if ($("#id_frio_bg_image_option_stretch").is(":checked") == true) {
theme.background_image_option = "stretch"; theme.background_image_option = "stretch";
} }
@ -75,6 +74,7 @@
theme.background_image_option = "repeat"; theme.background_image_option = "repeat";
} }
} }
}
if ($("#frio_contentbg_transp").length) { if ($("#frio_contentbg_transp").length) {
theme.contentbg_transp = $("#frio_contentbg_transp").val(); theme.contentbg_transp = $("#frio_contentbg_transp").val();