function saveInfo() {
        var pos = 0;
        var teamName = '';
        var sprintTime = '';

        $('.js-save-info').click(function () {

            if ($('.js-position-checkbox').is(':checked')) {
                pos = 1;
            }
            if ($('.js-team-name').val().length > 0) {
                teamName = $('.js-team-name').val();
            }
            if (document.querySelector('input[name="rb"]:checked')) {
                sprintTime = parseInt(document.querySelector('input[name="rb"]:checked').value);
            }

            saveInfos(pos, teamName, sprintTime)

        })
    }
/**
    * save first page infos
    * @function saveInfo
    * @memberof popupjs
    */
save first page infos
@function saveInfo
@memberof popupjs
save first page infos @function saveInfo @memberof popupjs
function saveInfo() {
        var pos = 0;
        var teamName = '';
        var sprintTime = '';
        $('.js-save-info').click(function () {
            if ($('.js-position-checkbox').is(':checked')) {
                pos = 1;
            }
            if ($('.js-team-name').val().length > 0) {
                teamName = $('.js-team-name').val();
            }
            if (document.querySelector('input[name="rb"]:checked')) {
                sprintTime = parseInt(document.querySelector('input[name="rb"]:checked').value);
            }
            saveInfos(pos, teamName, sprintTime)
        })
    }
function saveInfo ( ) { var pos = 0 ; var teamName = '' ; var sprintTime = '' ; $ ( '.js-save-info' ) . click ( function ( ) { if ( $ ( '.js-position-checkbox' ) . is ( ':checked' ) ) { pos = 1 ; } if ( $ ( '.js-team-name' ) . val ( ) . length > 0 ) { teamName = $ ( '.js-team-name' ) . val ( ) ; } if ( document . querySelector ( 'input[name="rb"]:checked' ) ) { sprintTime = parseInt ( document . querySelector ( 'input[name="rb"]:checked' ) . value ) ; } saveInfos ( pos , teamName , sprintTime ) } ) }
save first page infos
 @function saveInfo
 @memberof popupjs
save first page infos @function saveInfo @memberof popupjs