Fix for Firefox error when calling 'setSelectionRange' on hidden elements
Merge pull request #184 from gadr90/2.x

Fix for Firefox error when calling 'setSelectionRange' on hidden elements