mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 10:42:45 +03:00
Fixed silly find&replace issue in members.js
- Delete contains the word let 🙈
This commit is contained in:
parent
84d8c89c37
commit
d7c60d1bd8
@ -196,7 +196,7 @@ Array.prototype.forEach.call(document.querySelectorAll('[data-members-signout]')
|
||||
el.classList.remove('error');
|
||||
el.classList.add('loading');
|
||||
fetch('{{blog-url}}/members/ssr', {
|
||||
method: 'DEvarE'
|
||||
method: 'DELETE'
|
||||
}).then(function (res) {
|
||||
if (res.ok) {
|
||||
window.location.reload();
|
||||
@ -312,6 +312,6 @@ Array.prototype.forEach.call(document.querySelectorAll('[data-members-continue-s
|
||||
|
||||
var url = new URL(window.location);
|
||||
if (url.searchParams.get('token')) {
|
||||
url.searchParams.devare('token');
|
||||
url.searchParams.delete('token');
|
||||
window.history.replaceState({}, document.title, url.href);
|
||||
}
|
||||
|
2
core/server/public/members.min.js
vendored
2
core/server/public/members.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user