You can clone with
In Mask.js is an error on the inject function, if the options.inject.where argument is set, it still is ignored. This is fixed by changing the line:
where = where || (this.options.inject ? this.options.inject.where : '') || (this.target == document.body ? 'inside' : 'after');
Added the parentheses, this fixed my problem. Unfortunatly I couldn't fork the file, so I do it this way.
Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.