We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01e0e56 commit cc4cad7Copy full SHA for cc4cad7
1 file changed
app/static/js/iban.js
@@ -287,9 +287,13 @@ function showPartsPop(op, response){
287
288
const a = document.createElement('a');
289
a.href = '/' + IBAN + '/' + entry;
290
- a.target = '_blank';
291
a.innerHTML = entry;
292
+ // Use '_blank' when not in PWA
293
+ if (sessionStorage.getItem('pwa_installed') != 'true'){
294
+ a.target = '_blank';
295
+ }
296
+
297
li.appendChild(a);
298
ul.appendChild(li);
299
}
@@ -321,13 +325,11 @@ function tagAndCat(operation) {
321
325
return;
322
326
323
327
324
- payload['streaming'] = false;
328
api_url = 'tag-and-cat/';
329
330
331
const dry_run = document.getElementById(operation + '-dry').checked;
332
if (dry_run) {
333
payload['dry_run'] = dry_run;
334
335
0 commit comments