nl_tokens: Clear a search
pl_tokens: function ( ) { if ( this . config . searchable || this . config . taggable ) { this . input . value = null ; this . searching = false ; if ( this . config . searchable ) { util . removeClass ( this . inputContainer , "active" ) ; } if ( util . hasClass ( this . <mask> , "notice" ) ) { util . removeClass ( this . container , "notice" ) ; util . addClass ( this . container , "open" ) ; this . input . focus ( ) ; } util . each ( this . items , function ( i , item ) { // Items that didn't match need the class // removing to make them visible again util . removeClass ( item , "excluded" ) ; // Remove the span element for underlining matched items if ( ! this . customOption ) { item . innerHTML = item . textContent ; } } , this ) ; } }