@internetstiftelsen/styleguide 2.24.25-beta.0.1 → 2.24.25-beta.0.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.
@@ -24,7 +24,7 @@ var manualStep = false;
24
24
  // Has src attributes been set already?
25
25
  if (video) {
26
26
  // Store current time in on page reload
27
- window.addEventListener('unload', function () {
27
+ window.addEventListener('beforeunload', function () {
28
28
  // Set sessionStorage if video has started playing
29
29
  if (video.currentTime > 0) {
30
30
  var currentGuideURL = window.location.href;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetstiftelsen/styleguide",
3
- "version": "2.24.25-beta.0.1",
3
+ "version": "2.24.25-beta.0.2",
4
4
  "main": "dist/components.js",
5
5
  "ports": {
6
6
  "fractal": "3000"