RobinHerbots/jquery.inputmask — pull request #119 by ericlamb (2012-10-01 21:12:51+00:00)
Title: Clearing optional tail on mask assignment

Fixing an issue when a mask is set with an optional tail and clearMaskOnLostFocus is true the tail still shows up for the input field until a blur or mouseleave event is fired. An example of a phone number with optional extension can be seen here http://jsfiddle.net/e4qBb/.