MCPcopy Index your code
hub / github.com/MALSync/MALSync / openNextEp

Method openNextEp

src/pages-sync/syncPage.ts:108–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106 }
107
108 public openNextEp() {
109 if (typeof this.page.sync.nextEpUrl !== 'undefined') {
110 if (this.page.isSyncPage(this.url)) {
111 const nextEp = this.page.sync.nextEpUrl(this.url);
112 if (nextEp) {
113 window.location.href = nextEp;
114 return;
115 }
116 }
117 utils.flashm(api.storage.lang('nextEpShort_no_nextEp'), {
118 error: true,
119 type: 'EpError',
120 });
121 return;
122 }
123 utils.flashm(api.storage.lang('nextEpShort_no_support'), {
124 error: true,
125 type: 'EpError',
126 });
127 }
128
129 autoNextEpRun = false;
130

Callers 3

autoNextEpMethod · 0.95
checkForFillerMethod · 0.95
messagePageListenerFunction · 0.80

Calls 1

langMethod · 0.80

Tested by

no test coverage detected