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

Commit

Permalink
Update ctm.html
Browse files Browse the repository at this point in the history
  • Loading branch information
leggsimon committed Apr 10, 2017
1 parent f2ec779 commit 20bbf47
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions browser/layout/partials/ctm.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
classes = classes.replace(/\bno-js\b/, 'js'); {{!note: needed for JS that's run out of the scope of the bootstrap (inline onclicks, etc)}}

var getRandomValuesAvailable;
try {
getRandomValuesAvailable = 'getRandomValues' in window.crypto
} catch (e) {
getRandomValuesAvailable = 'getRandomValues' in window.msCrypto
var cryptoApi = window.crypto || window.msCrypto;
if (cryptoApi) {
getRandomValuesAvailable = 'getRandomValues' in cryptoApi;
}

window.cutsTheMustard = (
Expand Down

0 comments on commit 20bbf47

Please sign in to comment.