unpoly-rails 3.5.0 → 3.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@
5
5
  /***/ (() => {
6
6
 
7
7
  window.up = {
8
- version: '3.5.0'
8
+ version: '3.5.1'
9
9
  };
10
10
 
11
11
 
@@ -2218,6 +2218,7 @@ up.Change.OpenLayer = class OpenLayer extends up.Change.Addition {
2218
2218
  this.layer.setupHandlers();
2219
2219
  }
2220
2220
  _renderOverlayContent() {
2221
+ this._handleHistory();
2221
2222
  this.handleLayerChangeRequests();
2222
2223
  this.layer.setContent(this._content);
2223
2224
  this.setReloadAttrs({ newElement: this._content, source: this.options.source });
@@ -2227,7 +2228,6 @@ up.Change.OpenLayer = class OpenLayer extends up.Change.Addition {
2227
2228
  fragments: [this._content],
2228
2229
  target: this.target,
2229
2230
  });
2230
- this._handleHistory();
2231
2231
  up.hello(this.layer.element, { ...this.options, layer: this.layer });
2232
2232
  this._handleScroll();
2233
2233
  this._newOverlayResult.finished = this._finish();