handle the typeahead after the libiframe change