@internetarchive/ia-book-actions 0.0.7-6 → 0.0.7-7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -108,6 +108,9 @@ export default class ActionsHandler extends LitElement {
|
|
|
108
108
|
|
|
109
109
|
// fetch loan token for browsed/borrowed book and set an interval
|
|
110
110
|
if (borrowType) {
|
|
111
|
+
// Do an initial token, then set an interval
|
|
112
|
+
this.handleLoanTokenPoller();
|
|
113
|
+
|
|
111
114
|
this.loanTokenInterval = setInterval(() => {
|
|
112
115
|
this.handleLoanTokenPoller();
|
|
113
116
|
}, this.loanTokenPollingDelay);
|