estelle / input-masking

Framework agnostic accessible input masking library
MIT License
485 stars 96 forks source link

Error on second init #10

Open gosteev opened 7 years ago

gosteev commented 7 years ago

There's an error when plugin is inited second time as:

new InputMask();

Bypass:

new InputMask({
  masked: ".masked"
});

but source should be edited as here https://github.com/estelle/input-masking/pull/8