diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2026-06-15 20:32:03 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2026-06-15 20:32:03 +0300 |
| commit | 5aa0025bfc32926a94c25a76dcf5497a6eb8c667 (patch) | |
| tree | 6bd5d4f3c8de55b9a0b6f3f6f3b5e282a505c88d /src | |
| parent | e2c7adcc2a59d11a9335e71eb271d1ebd5f4a790 (diff) | |
| download | the-epube-5aa0025bfc32926a94c25a76dcf5497a6eb8c667.tar.gz the-epube-5aa0025bfc32926a94c25a76dcf5497a6eb8c667.tar.xz | |
handle remove in offline mode
Diffstat (limited to 'src')
| -rw-r--r-- | src/app.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/app.js b/src/app.js index 8038be1..5cbf7ec 100644 --- a/src/app.js +++ b/src/app.js @@ -673,6 +673,12 @@ class AppClass extends AppCommon { this.toggleFavorite(evt.currentTarget); }); + // specific to offline index + cell.find('.remove_offline_data').on('click', (evt) => { + evt.preventDefault(); + this.removeFromList(evt.currentTarget); + }); + return cell; } |
