diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-11-25 16:41:02 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-11-25 16:41:02 -0800 |
commit | d7775f79425abc2c581eba629618cf23afd1484a (patch) | |
tree | b26ee074af8f068026c9fe7961e13d4112fae2ea /src | |
parent | a81c49ba56ef944eb69678e1e011744e7f8e8397 (diff) | |
download | DotNetOpenAuth-d7775f79425abc2c581eba629618cf23afd1484a.zip DotNetOpenAuth-d7775f79425abc2c581eba629618cf23afd1484a.tar.gz DotNetOpenAuth-d7775f79425abc2c581eba629618cf23afd1484a.tar.bz2 |
Fixed js error when an infocard button is not included in the selector.
Diffstat (limited to 'src')
-rw-r--r-- | src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdSelector.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdSelector.js b/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdSelector.js index 49c856e..6271952 100644 --- a/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdSelector.js +++ b/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdSelector.js @@ -14,7 +14,7 @@ $(function() { ajaxbox.setValue(hint); } - if (document.infoCard.isSupported()) { + if (document.infoCard && document.infoCard.isSupported()) { $('ul.OpenIdProviders li.infocard')[0].style.display = 'inline-block'; } |