(key, fallback)
| 5258 | |
| 5259 | // Translate with fallback |
| 5260 | const tf = (key, fallback) => { |
| 5261 | const v = t(key); |
| 5262 | return (v && v !== key) ? v : fallback; |
| 5263 | }; |
| 5264 | function wireOidcDebugSnapshotButton(scope = document) { |
| 5265 | const btn = scope.querySelector('#oidcDebugSnapshotBtn'); |
| 5266 | const box = scope.querySelector('#oidcDebugSnapshot'); |
no test coverage detected