frio: fix wrong slider position in the theme_settings

This commit is contained in:
rabuzarus 2017-10-23 21:15:46 +02:00
parent 6a8969452a
commit 7e273ba51b

View file

@ -60,6 +60,13 @@
theme: 'theme-frio',
});
// The position of the slider is wrong calculated on hidden elements.
// So set an event listener toggle and update the jRange value.
$(document).on('click', '#custom-settings-title a', function() {
var bgTransp = $('#frio_contentbg_transp').val();
$('.slider-input').jRange('setValue', bgTransp);
});
});
</script>