|
|
|
@ -239,36 +239,39 @@ GUI_control.prototype.tab_switch_cleanup = function (callback) {
|
|
|
|
|
|
|
|
|
|
GUI_control.prototype.content_ready = function (callback) {
|
|
|
|
|
|
|
|
|
|
$('.togglesmall').each(function(index, html) {
|
|
|
|
|
var switchery = new Switchery(html,
|
|
|
|
|
{
|
|
|
|
|
$('.togglesmall').each(function(index, elem) {
|
|
|
|
|
var switchery = new Switchery(elem, {
|
|
|
|
|
size: 'small',
|
|
|
|
|
color: '#59aa29',
|
|
|
|
|
secondaryColor: '#c4c4c4'
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$(html).removeClass('togglesmall');
|
|
|
|
|
$(elem).on("change", function (evt) {
|
|
|
|
|
switchery.setPosition();
|
|
|
|
|
});
|
|
|
|
|
$(elem).removeClass('togglesmall');
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$('.toggle').each(function(index, html) {
|
|
|
|
|
var switchery = new Switchery(html,
|
|
|
|
|
{
|
|
|
|
|
$('.toggle').each(function(index, elem) {
|
|
|
|
|
var switchery = new Switchery(elem, {
|
|
|
|
|
color: '#59aa29',
|
|
|
|
|
secondaryColor: '#c4c4c4'
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$(html).removeClass('toggle');
|
|
|
|
|
$(elem).on("change", function (evt) {
|
|
|
|
|
switchery.setPosition();
|
|
|
|
|
});
|
|
|
|
|
$(elem).removeClass('toggle');
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$('.togglemedium').each(function(index, html) {
|
|
|
|
|
var switchery = new Switchery(html,
|
|
|
|
|
{
|
|
|
|
|
$('.togglemedium').each(function(index, elem) {
|
|
|
|
|
var switchery = new Switchery(elem, {
|
|
|
|
|
className: 'switcherymid',
|
|
|
|
|
color: '#59aa29',
|
|
|
|
|
secondaryColor: '#c4c4c4'
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$(html).removeClass('togglemedium');
|
|
|
|
|
$(elem).on("change", function (evt) {
|
|
|
|
|
switchery.setPosition();
|
|
|
|
|
});
|
|
|
|
|
$(elem).removeClass('togglemedium');
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// Build link to in-use CF version documentation
|
|
|
|
|