* 绑定继续阅读弹窗事件 * Requirements: 7.2, 7.3
()
| 995 | * Requirements: 7.2, 7.3 |
| 996 | */ |
| 997 | function bindContinueReadingEvents() { |
| 998 | const continueYesBtn = document.getElementById('continue-yes'); |
| 999 | const continueNoBtn = document.getElementById('continue-no'); |
| 1000 | |
| 1001 | if (continueYesBtn) { |
| 1002 | continueYesBtn.addEventListener('click', handleContinueReading); |
| 1003 | } |
| 1004 | |
| 1005 | if (continueNoBtn) { |
| 1006 | continueNoBtn.addEventListener('click', handleStartFromBeginning); |
| 1007 | } |
| 1008 | } |
| 1009 | |
| 1010 | /** |
| 1011 | * 处理封面"开始阅读"按钮点击 |