diff options
| author | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2021-12-20 14:48:04 +0000 |
|---|---|---|
| committer | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2021-12-20 14:48:04 +0000 |
| commit | 3f91a121b33151cd466de930d0e68bdf87f4d19e (patch) | |
| tree | 62e9555661340d85537d8441da8cb92384d21180 /app/static/scripts/purge.js | |
| parent | 1a1f5a10fb60426dae868d2a73ed2cac46100f2b (diff) | |
Convert to typescript
Diffstat (limited to 'app/static/scripts/purge.js')
| -rw-r--r-- | app/static/scripts/purge.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/app/static/scripts/purge.js b/app/static/scripts/purge.js deleted file mode 100644 index 5ee34f0..0000000 --- a/app/static/scripts/purge.js +++ /dev/null @@ -1,15 +0,0 @@ -$(() => { - $('#confirm').click(() => { - let page = $('#confirm').data('page'); - $.ajax({ - type: 'GET', - url: `/special/purge/${page}/confirm`, - success: () => { - $('#response').html('<div class=\'box\'>Successfully purged page.</div>'); - }, - error: () => { - $('#response').html('<div class=\'box\'>Could not purge page. Try again later.</div>'); - } - }); - }); -}); |
