@ons/design-system 46.1.1 → 46.1.2

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/js/timeout.js CHANGED
@@ -141,7 +141,10 @@ export default class Timeout {
141
141
  this.expiryTime = await this.getExpiryTime();
142
142
  this.clearTimers();
143
143
  clearInterval(this.shouldRestartCheck);
144
- this.startUiCountdown();
144
+ if (this.countdownStarted) {
145
+ this.countdownStarted = false;
146
+ this.startUiCountdown();
147
+ }
145
148
  }
146
149
 
147
150
  async setNewExpiryTime() {
package/package.json CHANGED
@@ -1,13 +1,11 @@
1
1
  {
2
2
  "name": "@ons/design-system",
3
3
  "description": "ONS Design System built CSS, JS, and Nunjucks templates",
4
- "version": "46.1.1",
4
+ "version": "46.1.2",
5
5
  "main": "index.js",
6
6
  "license": "MIT",
7
7
  "author": {
8
- "name": "Ben Meyrick",
9
- "email": "bameyrick@gmail.com",
10
- "url": "https://github.com/bameyrick"
8
+ "name": "ONS Digital"
11
9
  },
12
10
  "scripts": {
13
11
  "start": "gulp start",