Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
fix(client): Fix the IE8 password toggle test for real this time.
Browse files Browse the repository at this point in the history
issue #1114
  • Loading branch information
Shane Tomlinson committed Jun 23, 2014
1 parent 0aec5fe commit 8cdecd1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/scripts/vendor/env-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@
// END MODERNIZR BASED CODE

// Code below here is our own.
var pwElement = document.createElement('input');
pwElement.setAttribute('type', 'password');

try {
var pwElement = document.createElement('input');
// IE8 will blow up here.
pwElement.setAttribute('type', 'text');
docElement.className += ' toggle-pw';
} catch(e) {
Expand Down

0 comments on commit 8cdecd1

Please sign in to comment.