Skip to content

Commit

Permalink
Fix merge bug in restoring changes- method name had changed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bonkles committed Jan 31, 2020
1 parent c9374b6 commit e942d16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ui/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ export function uiInit(context) {
var osm = context.connection();
if (!_initCounter++) {
if (!ui.hash.startWalkthrough) {
if (context.history().lock() && context.history().restorableChanges()) {
if (context.history().lock() && context.history().hasRestorableChanges()) {
context.container()
.call(uiRestore(context));
} else if (osm.authenticated()) {
Expand Down

0 comments on commit e942d16

Please sign in to comment.