MCPcopy Create free account
hub / github.com/cutedCha/noteBoook / bindContinueReadingEvents

Function bindContinueReadingEvents

js/app.js:997–1008  ·  view source on GitHub ↗

* 绑定继续阅读弹窗事件 * Requirements: 7.2, 7.3

()

Source from the content-addressed store, hash-verified

995 * Requirements: 7.2, 7.3
996 */
997function 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 * 处理封面"开始阅读"按钮点击

Callers 1

bindEventsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected