Widget:CJP4: Difference between revisions

Jump to navigation Jump to search
Christopher Popma (talk | contribs)
No edit summary
Christopher Popma (talk | contribs)
No edit summary
Line 21: Line 21:
             else if (ui.values[0] > ui.values[1])
             else if (ui.values[0] > ui.values[1])
             {
             {
                 var newZero = ui.values[1]
                 var newZero = ui.values[1];
                 var newOne = ui.values[0]
                 var newOne = ui.values[0];
                console.log(newZero);
                console.log(newOne);
                 $("input.pillSizeSlider[data-index=1]").val(newZero);
                 $("input.pillSizeSlider[data-index=1]").val(newZero);
                 $("input.pillSizeSlider[data-index=0]").val(newOne);                 
                 $("input.pillSizeSlider[data-index=0]").val(newOne);                 

Revision as of 01:22, 23 July 2015