jaridmargolin / formatter.js

Format html inputs to match a specified pattern
http://firstopinion.github.io/formatter.js
2.48k stars 235 forks source link

document.selection.createRange() causes errors in Chrome #50

Closed TSchuermans closed 10 years ago

TSchuermans commented 10 years ago

Error occurred in chrome 35.0.1916.114 on mac os x 10.9.3 Error: Uncaught TypeError: Cannot read property 'createRange' of undefined.

Probably a bug in Chrome, works in firefox and safari.

capan commented 5 years ago

Hi, @TSchuermans have you found a fix for the problem ?

TSchuermans commented 5 years ago

I don't know :( It's been 5+ years ago, so I can't remember. Sorry!

capan commented 5 years ago

At least I have tried ! thanks