le bouton de retour (page de partage) renvoie à l'accueil si l'on ne venait pas d'une galerie
This commit is contained in:
parent
fb1b86b471
commit
95564b33c3
@ -30,7 +30,7 @@ $config = getSiteConfig();
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body class="share-page">
|
||||
<button onclick="window.close();" class="back-button">Retour à la galerie</button>
|
||||
<button onclick="var referrer = document.referrer; if (referrer.includes('galeries.php')) { window.close(); } else { window.location.href='index.php'; }" class="back-button">Retour</button>
|
||||
|
||||
<div class="share-container">
|
||||
<div class="share-image">
|
||||
|
Loading…
x
Reference in New Issue
Block a user