Skip to content

Commit

Permalink
Fix reference to nonexistent variable
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnonnenberg-signal committed Nov 14, 2018
1 parent 55c3d93 commit a780fa3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions js/modules/refresh_sender_certificate.js
Expand Up @@ -29,11 +29,7 @@ function initialize({ events, storage, navigator, logger }) {

runWhenOnline();

events.on('timetravel', () => {
if (initialized) {
scheduleNextRotation();
}
});
events.on('timetravel', scheduleNextRotation);

function scheduleNextRotation() {
const now = Date.now();
Expand Down

0 comments on commit a780fa3

Please sign in to comment.