[rs-commit] r25 - /redwax-signtext/trunk/src/common/signtext.js

rs-commit at redwax.eu rs-commit at redwax.eu
Mon Sep 20 10:42:43 CEST 2021


Author: minfrin at redwax.eu
Date: Mon Sep 20 10:42:43 2021
New Revision: 25

Log:
Add missing typeof.

Modified:
    redwax-signtext/trunk/src/common/signtext.js

Modified: redwax-signtext/trunk/src/common/signtext.js
==============================================================================
--- redwax-signtext/trunk/src/common/signtext.js	(original)
+++ redwax-signtext/trunk/src/common/signtext.js	Mon Sep 20 10:42:43 2021
@@ -15,7 +15,7 @@
  *
  */
 
-if (window.crypto.signText === 'undefined') {
+if (typeof window.crypto.signText === 'undefined') {
 
     document.addEventListener('eu.redwax.signTextResponseInfo', function() {
 



More information about the rs-commit mailing list