Update Ember with history location fix from my fork
This commit is contained in:
parent
7af5d4c1b6
commit
dfd8e3323b
2
assets/scripts/vendor/ember.js
vendored
2
assets/scripts/vendor/ember.js
vendored
|
@ -18498,7 +18498,7 @@ Ember.HistoryLocation = Ember.Object.extend({
|
||||||
setURL: function(path) {
|
setURL: function(path) {
|
||||||
path = this.formatURL(path);
|
path = this.formatURL(path);
|
||||||
|
|
||||||
if (this.getState().path !== path) {
|
if (this.getState() && this.getState().path !== path) {
|
||||||
popstateReady = true;
|
popstateReady = true;
|
||||||
this.pushState(path);
|
this.pushState(path);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user