summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-10-24 20:00:27 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-10-24 20:00:27 +0200
commit741b0747a2a090c9997bdc4f9abff4e77f884f3d (patch)
tree9c90ac9d32683e3bf1f4bf066f2fbcf182e731e3 /doc
parent6d0d2e389390d6abf870ae6653ca2282d127a5bf (diff)
downloadmerchant-741b0747a2a090c9997bdc4f9abff4e77f884f3d.tar.gz
merchant-741b0747a2a090c9997bdc4f9abff4e77f884f3d.tar.bz2
merchant-741b0747a2a090c9997bdc4f9abff4e77f884f3d.zip
indent
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/manual.texi b/doc/manual.texi
index 666868e4..cdb3186c 100644
--- a/doc/manual.texi
+++ b/doc/manual.texi
@@ -368,21 +368,21 @@ below how @code{fallback.html} looks like:
contract_url = "/generate-contract";
taler.offerContractFrom(contract_url);
@}
-
/* The 'taler' object is exported by the library above */
taler.onPresent(onWalletPresent);
+ </script>
</head>
<body>
<!-- Put the credit card paywall here -->
</body>
-</script>
@end display
The result is that if a wallet is found, then the contract is requested so
the user doesn't see the credit card paywall@footnote{In this simple
-implementation, the user will se the paywall as long as no contract is gotten.
+implementation, the user will se the paywall as long as no contract is received.
Nevertheless, it is easy to temporarily hide the paywall by using the
-@code{taler.onAbsent} handler}
+@code{taler.onAbsent} handler}, otherwise the page rests untouched and the
+paywall remains shown.