dist/pinny.js
function() {
            // At this point, this pinny has been closed and lockup has unlocked.
            // If there are any other pinny's open we don't want to re-enable the
            // inputs as they still require them to be disabled.
            if (this._activePinnies()) {
                return;
            }

            $('[data-orig-tabindex]').each(function(_, el) {
                var $el = $(el);
                var oldTabIndex = parseInt($el.attr('data-orig-tabindex'));

                if (oldTabIndex) {
                    $el.attr('tabindex', oldTabIndex);
                } else {
                    $el.removeAttr('tabindex');
                }

                $el.removeAttr('data-orig-tabindex');
            });
        }
function() {
            // At this point, this pinny has been closed and lockup has unlocked.
            // If there are any other pinny's open we don't want to re-enable the
            // inputs as they still require them to be disabled.
            if (this._activePinnies()) {
                return;
            }

            $('[data-orig-tabindex]').each(function(_, el) {
                var $el = $(el);
                var oldTabIndex = parseInt($el.attr('data-orig-tabindex'));

                if (oldTabIndex) {
                    $el.attr('tabindex', oldTabIndex);
                } else {
                    $el.removeAttr('tabindex');
                }

                $el.removeAttr('data-orig-tabindex');
            });
        }
function ( ) { // At this point, this pinny has been closed and lockup has unlocked. // If there are any other pinny's open we don't want to re-enable the // inputs as they still require them to be disabled. if ( this . _activePinnies ( ) ) { return ; } $ ( '[data-orig-tabindex]' ) . each ( function ( _ , el ) { var $el = $ ( el ) ; var oldTabIndex = parseInt ( $el . attr ( 'data-orig-tabindex' ) ) ; if ( oldTabIndex ) { $el . attr ( 'tabindex' , oldTabIndex ) ; } else { $el . removeAttr ( 'tabindex' ) ; } $el . removeAttr ( 'data-orig-tabindex' ) ; } ) ; }
Re-enables tabbing in inputs not inside Pinny's content
Re - enables tabbing in inputs not inside Pinny s content